Prefer grid over flexbox
This commit is contained in:
+3
-3
@@ -11,9 +11,9 @@ body {
|
||||
padding: 0;
|
||||
background: $theme-content-background;
|
||||
|
||||
min-height: calc(100vh - 2rem);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
display: grid;
|
||||
grid-template-rows: min-content 1fr;
|
||||
|
||||
// Font
|
||||
font-size: 1.1rem;
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
#footer {
|
||||
position: relative;
|
||||
top: 2rem;
|
||||
justify-self: stretch;
|
||||
align-self: bottom;
|
||||
margin: 0;
|
||||
margin-top: auto;
|
||||
margin-top: 2rem;
|
||||
padding: 0;
|
||||
background: $theme-footer-background;
|
||||
color: $theme-footer-color;
|
||||
|
||||
Reference in New Issue
Block a user