.pb-footer-height

This commit is contained in:
Martti Malmi 2023-12-01 19:11:10 +02:00
parent 297186c33c
commit 9fec0ab95b
2 changed files with 4 additions and 1 deletions

View File

@ -48,7 +48,7 @@ export default function Index() {
{!shouldHideHeader && <Header />}
<div className="flex flex-row w-full">
<NavSidebar />
<div className="flex flex-1 flex-col overflow-x-hidden">
<div className="flex flex-1 flex-col overflow-x-hidden pb-footer-height md:pb-0">
<ErrorBoundary>
<Outlet />
</ErrorBoundary>

View File

@ -21,6 +21,9 @@ module.exports = {
spacing: {
px: "1px",
},
padding: {
'footer-height': 'calc(56px + env(safe-area-inset-bottom))',
},
},
},
plugins: [],