Skip to content

Commit

Permalink
empty card sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
maciaszczykm committed Dec 4, 2024
1 parent a1903d3 commit 62da85c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion assets/src/components/catalog/Catalogs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ export function Catalogs() {
<div
css={{
alignSelf: 'center',
height: '100%',
maxWidth: theme.breakpoints.desktop,
overflow: 'hidden',
width: '100%',
Expand All @@ -122,7 +123,10 @@ export function Catalogs() {
},
}}
>
<Flex height="100%">
<Flex
height="100%"
overflow={'hidden'}
>
<Flex
direction="column"
grow={1}
Expand Down Expand Up @@ -173,6 +177,8 @@ export function Catalogs() {
<Flex
gap="medium"
overflow={'hidden'}
paddingBottom={theme.spacing.large}
{...(isEmpty(resultCatalogs) ? { height: '100%' } : {})}
>
<CatalogsGrid
catalogs={resultCatalogs}
Expand Down

0 comments on commit 62da85c

Please sign in to comment.