Skip to content

Commit 39ef6d1

Browse files
committed
🐛(frontend) fix display bug on homepage
A section in the homepage was not displaying correctly anymore. This commit fixes the issue.
1 parent 961ae3c commit 39ef6d1

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ and this project adheres to
3737
- 🐛(frontend) fix base64 font #1324
3838
- 🐛(backend) allow editor to delete subpages #1296
3939
- 🐛(frontend) fix dnd conflict with tree and Blocknote #1328
40+
- 🐛(frontend) fix display bug on homepage #1332
4041

4142
## [3.5.0] - 2025-07-31
4243

src/frontend/apps/impress/src/components/Box.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const Box = styled('div')<BoxProps>`
5151
${({ $cursor }) => $cursor && `cursor: ${$cursor};`}
5252
${({ $direction }) => `flex-direction: ${$direction || 'column'};`}
5353
${({ $display, as }) =>
54-
`display: ${$display || as?.match('span|input') ? 'inline-flex' : 'flex'};`}
54+
`display: ${$display || (as?.match('span|input') ? 'inline-flex' : 'flex')};`}
5555
${({ $flex }) => $flex && `flex: ${$flex};`}
5656
${({ $gap }) => $gap && `gap: ${$gap};`}
5757
${({ $height }) => $height && `height: ${$height};`}

src/frontend/apps/impress/src/features/home/components/HomeSection.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ export const HomeSection = ({
126126
{title}
127127
</Text>
128128
<Text
129+
as="div"
129130
$variation="700"
130131
$weight="400"
131132
$size={isSmallMobile ? 'ml' : 'md'}

0 commit comments

Comments
 (0)