Fix content min-height with sections (#3597)

This commit is contained in:
Zeno Kapitein
2025-08-27 11:30:22 +02:00
committed by GitHub
parent f08dd29364
commit 1839ea2678
2 changed files with 9 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"gitbook": patch
---
Fix content min-height with sections
@@ -92,7 +92,10 @@ export function SpaceLayout(props: {
'site-width-wide:max-w-full',
// Ensure the footer is display below the viewport even if the content is not enough
withFooter && 'min-h-[calc(100vh-64px)]',
withFooter && [
'site-header:min-h-[calc(100vh-64px)]',
'site-header-sections:min-h-[calc(100vh-108px)]',
],
withTopHeader ? null : 'lg:min-h-screen'
)}
>