Fix long words in headings breaking the layout (#314)

This commit is contained in:
Samy Pessé
2024-03-20 17:59:52 +00:00
committed by GitHub
parent 0ad7bf561e
commit db4ecbc747
+1
View File
@@ -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]',