mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Fix overflowing headers on small screens (#1830)
This commit is contained in:
committed by
Dan Abramov
parent
40bbbd5b10
commit
1fe2e0ae29
@@ -89,6 +89,11 @@ const fonts = {
|
||||
lineHeight: '65px',
|
||||
fontWeight: 700,
|
||||
|
||||
[media.lessThan('small')]: {
|
||||
overflowWrap: 'break-word',
|
||||
wordBreak: 'break-word',
|
||||
},
|
||||
|
||||
[media.lessThan('medium')]: {
|
||||
fontSize: 40,
|
||||
lineHeight: '45px',
|
||||
|
||||
Reference in New Issue
Block a user