🐛(frontend) fix display bug on homepage

A section in the homepage was not displaying
correctly anymore. This commit fixes the issue.
This commit is contained in:
Anthony LC
2025-09-03 10:49:47 +02:00
parent 961ae3c39e
commit 39ef6d10ff
3 changed files with 3 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ and this project adheres to
- 🐛(frontend) fix base64 font #1324
- 🐛(backend) allow editor to delete subpages #1296
- 🐛(frontend) fix dnd conflict with tree and Blocknote #1328
- 🐛(frontend) fix display bug on homepage #1332
## [3.5.0] - 2025-07-31

View File

@@ -51,7 +51,7 @@ export const Box = styled('div')<BoxProps>`
${({ $cursor }) => $cursor && `cursor: ${$cursor};`}
${({ $direction }) => `flex-direction: ${$direction || 'column'};`}
${({ $display, as }) =>
`display: ${$display || as?.match('span|input') ? 'inline-flex' : 'flex'};`}
`display: ${$display || (as?.match('span|input') ? 'inline-flex' : 'flex')};`}
${({ $flex }) => $flex && `flex: ${$flex};`}
${({ $gap }) => $gap && `gap: ${$gap};`}
${({ $height }) => $height && `height: ${$height};`}

View File

@@ -126,6 +126,7 @@ export const HomeSection = ({
{title}
</Text>
<Text
as="div"
$variation="700"
$weight="400"
$size={isSmallMobile ? 'ml' : 'md'}