1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-21 13:23:07 +01:00

fix: fixes top padding for drawer in PWA mode (#3829)

This commit is contained in:
Amir Raminfar
2025-04-21 15:15:03 -07:00
committed by GitHub
parent 10705f05a6
commit 31c51f1939
3 changed files with 6 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
<template>
<nav class="border-base-content/20 bg-base-200 fixed top-0 z-10 w-full border-b" data-testid="navigation">
<nav class="border-base-content/20 bg-base-200 pt-safe fixed top-0 z-10 w-full border-b" data-testid="navigation">
<div class="p-2">
<div class="flex items-center">
<router-link :to="{ name: '/' }">
@@ -57,8 +57,4 @@ watch(route, () => {
.fade-leave-to > div {
@apply -translate-y-10;
}
nav {
padding-top: env(safe-area-inset-top);
}
</style>