Smaller footer

This commit is contained in:
Timothy Armes
2023-10-10 11:06:12 +02:00
committed by Owen Rees
parent bd0993ed72
commit c0986fa64e
2 changed files with 6 additions and 10 deletions
+5 -5
View File
@@ -32,17 +32,17 @@ module.exports = {
},
minHeight: {
// We use 100svh, falling back to the the --1svh var that we add as a polyfill for older browsers.
// The 9rem is for the header and footer.
// The 7rem is for the header and footer.
// In the event that the polyfill fails, we fall back to 0.9vh as a guess of how much 1svh is.
content: [
"calc(var(--1svh, 0.9vh) * 100 - 9rem)",
"calc(100svh - 9rem)",
"calc(var(--1svh, 0.9vh) * 100 - 7rem)",
"calc(100svh - 7rem)",
],
},
height: {
content: [
"calc(var(--1svh, 0.9vh) * 100 - 9rem)",
"calc(100svh - 9rem)",
"calc(var(--1svh, 0.9vh) * 100 - 7rem)",
"calc(100svh - 7rem)",
],
},
},