Fix overflowing headers on small screens (#1830)

This commit is contained in:
Nelson Reitz
2019-03-15 15:04:19 +01:00
committed by Dan Abramov
parent 40bbbd5b10
commit 1fe2e0ae29

View File

@@ -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',