Skip to content

Commit ff45bac

Browse files
committed
Fix overflowing headers on small screens
1 parent 40bbbd5 commit ff45bac

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/theme.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ const fonts = {
8989
lineHeight: '65px',
9090
fontWeight: 700,
9191

92+
[media.lessThan('small')]: {
93+
overflowWrap: 'break-word',
94+
wordBreak: 'break-word',
95+
},
96+
9297
[media.lessThan('medium')]: {
9398
fontSize: 40,
9499
lineHeight: '45px',

0 commit comments

Comments
 (0)