Skip to content

Commit 39834e6

Browse files
fix: search page - set fixed width to the filters bar (#259)
1 parent 1af72ce commit 39834e6

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Diff for: client/src/app/pages/search/search.tsx

+9-9
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import {
44
Badge,
55
Card,
66
CardBody,
7-
Grid,
8-
GridItem,
97
PageSection,
108
PageSectionVariants,
119
Popover,
1210
SearchInput,
11+
Split,
12+
SplitItem,
1313
Tab,
1414
TabAction,
1515
TabTitleText,
@@ -175,10 +175,10 @@ export const Search: React.FC = () => {
175175
</Toolbar>
176176
</PageSection>
177177
<PageSection>
178-
<Grid hasGutter>
179-
<GridItem md={2}>
178+
<Split hasGutter>
179+
<SplitItem>
180180
<Card isFullHeight>
181-
<CardBody>
181+
<CardBody style={{ width: 241 }}>
182182
{activeTabKey === 0 ? (
183183
<FilterPanel
184184
omitFilterCategoryKeys={[""]}
@@ -202,8 +202,8 @@ export const Search: React.FC = () => {
202202
) : null}
203203
</CardBody>
204204
</Card>
205-
</GridItem>
206-
<GridItem md={10}>
205+
</SplitItem>
206+
<SplitItem isFilled>
207207
<Tabs
208208
isBox
209209
activeKey={activeTabKey}
@@ -275,8 +275,8 @@ export const Search: React.FC = () => {
275275
<AdvisoryTable />
276276
</Tab>
277277
</Tabs>
278-
</GridItem>
279-
</Grid>
278+
</SplitItem>
279+
</Split>
280280
</PageSection>
281281
</>
282282
);

0 commit comments

Comments
 (0)