File tree Expand file tree Collapse file tree 3 files changed +7
-11
lines changed
Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 99 padding : 0.5em ;
1010 margin : 0em ;
1111 box-shadow : 0em 1em 2em black;
12+ flex-shrink : 0 ;
1213}
1314
1415footer p {
Original file line number Diff line number Diff line change @@ -74,10 +74,10 @@ const profile = ogType === "profile" ? [
7474 <body >
7575 <Header />
7676 <Navigation />
77- <div class =" content" >
77+ <main class =" content" >
7878 <slot />
7979 <!-- This is where the page-specific content will go -->
80- </div >
81- <Footer class = " footer " />
80+ </main >
81+ <Footer />
8282 </body >
8383</html >
Original file line number Diff line number Diff line change @@ -12,19 +12,14 @@ html, body {
1212body {
1313 display : flex;
1414 flex-direction : column;
15- min-height : 100 % ;
15+ min-height : 100 vh ;
1616 box-sizing : border-box;
1717 overflow-y : auto;
1818 overflow-x : scroll;
1919}
2020
21- . content {
22- flex : 1 0 auto ;
21+ main {
22+ flex : 1 ;
2323 padding : 1em ;
2424 box-sizing : border-box;
25- }
26-
27- footer {
28- flex-shrink : 0 ;
29- box-sizing : border-box;
3025}
You can’t perform that action at this time.
0 commit comments