Fix layout issue (specifically to disallow scrolling on mobile)

This commit is contained in:
Timothy Armes
2023-07-07 08:09:34 +02:00
parent 9f23d31872
commit ad618809f2
11 changed files with 16 additions and 18 deletions
+2 -1
View File
@@ -10,7 +10,8 @@ module.exports = {
extend: {
height: {
// We use 100svh, falling back to vh for old browsers
screen: ['100vh', '100svh'],
// The 144px is for the header and footer
content: ['calc(100vh - 144px)', 'calc(100svh - 144px)'],
}
}
},