Skip to content

Commit a550f7e

Browse files
authored
Fix mobile layout issues on library website React output (#274)
* Fix library URL overflow * Fix library info centering
1 parent 4fb1707 commit a550f7e

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/routes/library.page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ const styles = {
6161
display: flex;
6262
flex-wrap: wrap;
6363
align-items: baseline;
64+
justify-content: center;
6465
gap: ${theme.spacing(1, 2)};
6566
`,
6667
name: css`

src/utils/jsx/islands/file.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const styles = {
2121
font-weight: ${theme.font.small.weight};
2222
padding: ${theme.spacing(0.5, 1)};
2323
flex: 1;
24+
word-break: break-word;
2425
`,
2526
};
2627

0 commit comments

Comments
 (0)