mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-16 15:45:13 +00:00
Fix long words in headings breaking the layout (#314)
This commit is contained in:
@@ -45,6 +45,7 @@ export async function PageAside(props: {
|
||||
'shrink-0',
|
||||
'sticky',
|
||||
'py-8',
|
||||
'break-anywhere', // To prevent long words in headings from breaking the layout
|
||||
withHeaderOffset ? 'lg:h-[calc(100vh_-_4rem)]' : 'lg:h-[100vh]',
|
||||
withHeaderOffset ? 'top-16' : 'top-0',
|
||||
'h-[100vh]',
|
||||
|
||||
Reference in New Issue
Block a user