testing spacer

This commit is contained in:
zmeyer44 2023-10-14 23:15:32 -04:00
parent 53382ddd87
commit a20238cc01
3 changed files with 12 additions and 0 deletions

View File

@ -43,6 +43,7 @@ export default function BottomNav() {
/> />
</Link> </Link>
))} ))}
<div className="standalone:block hidden h-[20px] w-full"></div>
</div> </div>
</footer> </footer>
); );

View File

@ -55,6 +55,14 @@
--header-height: 72px; --header-height: 72px;
--bottom-nav-height: 56px; --bottom-nav-height: 56px;
} }
@media all and (display-mode: standalone) {
:root {
--bottom-nav-height: 76px;
}
.dark {
--bottom-nav-height: 76px;
}
}
} }
@layer base { @layer base {

View File

@ -104,6 +104,9 @@ module.exports = {
3: 3, 3: 3,
4: 4, 4: 4,
}, },
screens: {
standalone: { raw: "(display-mode: standalone)" },
},
}, },
}, },
plugins: [ plugins: [