Stick footer to page bottom

This commit is contained in:
Hazem Krimi
2021-09-05 15:25:43 +01:00
parent 48f988fbd1
commit d665157e23
2 changed files with 15 additions and 0 deletions
+6
View File
@@ -38,11 +38,17 @@ const Global = createGlobalStyle<Props>`
}
}
html {
position: relative;
min-height: 100%;
}
ul, ol {
margin-inline-start: 1.9rem;
}
body {
margin: 0 0 100px;
background: ${({ dark, theme }) =>
dark ? theme.colors.dark.background : theme.colors.light.background};
color: ${({ dark, theme }) => (dark ? theme.colors.dark.text : theme.colors.light.text)};