Repository navigation
fix config cards clipping content at narrow window widths - #7146
Conversation
There was a problem hiding this comment.
Code Review
This pull request simplifies the layout of the Fine-tuning Studio sections (dataset, params, and training) by standardizing on a minimum height (min-h-studio-config-column) instead of conditionally toggling between fixed and minimum heights. Unused conditional states and the .h-studio-config-column CSS class have been removed. I have no feedback to provide as there are no review comments.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
@NilayYadav Reproduced the bug on main first: where the three cards sit in a row, the Parameters card is locked at 520px and the Training Hyperparameters toggle at the bottom gets clipped, so you can't click it. On your branch the card grows when it needs to and the toggle stays clickable at every width I checked. Single-column layout is unchanged, nothing left dangling from the old conditional. min-height is the right solution rather than a patch: a fixed height behind the card's overflow clip was always going to hide something. Uneven card bottoms is preferable to clipping a live control. Merging. |
The Studio configure cards had a fixed 520px height with clipped overflow, so at narrower windows the wrapped text pushed the bottom of the card out of view, the "Training Hyperparameters" section could become completely hidden and unclickable. Use min-height instead so cards keep the 520px baseline but grow with their content. Removes the unused h-studio-config-column class and leftover conditional state.
Before:

After:
