Fix search bar for Model and MCP Catalog#2567
Fix search bar for Model and MCP Catalog#2567google-oss-prow[bot] merged 2 commits intokubeflow:mainfrom
Conversation
Made-with: Cursor Signed-off-by: Philip Colares Carneiro <philip.colares@gmail.com>
5a9b288 to
5ce84c6
Compare
manaswinidas
left a comment
There was a problem hiding this comment.
Please add screenshots in the PR description
Sorry, the PR was only to see if is possible for the solution work after synched, and it's working fine |
Signed-off-by: Philip Colares Carneiro <philip.colares@gmail.com>
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mturley The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@Philip-Carneiro I realize after approving this - it's fine for now, but the CSS here affects anything with |




Description
The search bar in the Model Catalog and MCP Catalog pages was not stretching to fill the available toolbar width. This caused the placeholder text and search input to be cut off, making it difficult for users to see what they were typing or reading.
Root cause: The
FormFieldsetcomponent (used for MUI theme rendering) was replacing its base CSS class instead of concatenating itFlex→ToolbarToggleGroup→ToolbarGroup→ToolbarItem), allowing the search bar to stretch to fill the available spaceminWidth/maxWidthconstraints that conflicted with the flex layoutNon-PF mode:


PF mode:
How Has This Been Tested?
It was manually tested, no unit or cypress test are added since it was just style rendering issue
Merge criteria:
DCOcheck)ok-to-testhas been added to the PR.If you have UI changes