@@ -20,17 +20,18 @@ const { hasSidebar } = Astro.props;
2020 )
2121 }
2222 <div class =" main-frame" >
23- <slot />
24- </div >
25- <div class =" footer-container" >
26- <GrSiteFooter {... Astro .props } />
27- </div >
23+ <slot />
24+ </div >
25+ <div class =" footer-container" >
26+ <GrSiteFooter {... Astro .props } />
27+ </div >
28+ <div class =" bg-red-500 fixed bottom-0" >Where am I?</div >
2829</div >
2930
3031<style >
3132 .page {
3233 flex-direction: column;
33- min-height: 100vh;
34+ min-height: calc( 100vh - 6rem) ;
3435 }
3536
3637 .header {
@@ -46,11 +47,12 @@ const { hasSidebar } = Astro.props;
4647 background-color: var(--sl-color-bg-nav);
4748 }
4849
49- .footer-container {
50+ .footer-container {
5051 z-index: var(--sl-z-index-navbar);
51- background-color: yellow;
52- width: 100%;
53- }
52+ background-color: yellow;
53+ width: 100%;
54+ height: 4rem;
55+ }
5456
5557 :global([data-has-sidebar]) .header {
5658 padding-inline-end: calc(var(--sl-nav-gap) + var(--sl-nav-pad-x) + var(--sl-menu-button-size));
@@ -59,7 +61,7 @@ const { hasSidebar } = Astro.props;
5961 .sidebar-pane {
6062 visibility: var(--sl-sidebar-visibility, hidden);
6163 position: fixed;
62- bottom: 4rem ;
64+ bottom: 20rem ;
6365 z-index: var(--sl-z-index-menu);
6466 inset-block: var(--sl-nav-height) 0;
6567 inset-inline-start: 0;
@@ -90,6 +92,7 @@ const { hasSidebar } = Astro.props;
9092 .main-frame {
9193 padding-top: calc(var(--sl-nav-height) + var(--sl-mobile-toc-height));
9294 padding-inline-start: var(--sl-content-inline-start);
95+ min-height: 100vh;
9396 }
9497
9598 @media (min-width: 50rem) {
0 commit comments