Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const ModelCatalogFilters: React.FC = () => {
filters && filterKey in filters ? filters : undefined;

return (
<Stack hasGutter>
<Stack hasGutter style={{ paddingRight: 'var(--pf-t--global--spacer--sm)' }}>
<ModelPerformanceViewToggleCard />
<TaskFilter filters={getFilterProps(ModelCatalogStringFilterKey.TASK)} />
<ProviderFilter filters={getFilterProps(ModelCatalogStringFilterKey.PROVIDER)} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const ModelPerformanceViewToggleCard: React.FC = () => {
React.useContext(ModelCatalogContext);

return (
<Card style={{ minWidth: '280px' }}>
<Card>
<CardBody>
<Stack hasGutter>
<StackItem>
Expand Down
5 changes: 4 additions & 1 deletion clients/ui/frontend/src/app/pages/modelCatalog/screens/ModelCatalog.tsx
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ const ModelCatalog: React.FC = () => {
provideChildrenPadding
>
<Sidebar hasBorder hasGutter>
<SidebarPanel>
<SidebarPanel
variant="sticky"
style={{ maxHeight: '100vh', overflowY: 'auto', width: '300px' }}
>
<ModelCatalogFilters />
</SidebarPanel>
<SidebarContent>
Expand Down
Loading