hide PWA in standalone

This commit is contained in:
zmeyer44 2023-10-15 00:17:04 -04:00
parent 1649a24537
commit d60c4757b9
2 changed files with 4 additions and 1 deletions

View File

@ -24,7 +24,7 @@ export default function MobileBanner() {
}
if (!showPWAPrompt) return null;
return (
<div className="standalone:hidden fixed bottom-[var(--bottom-nav-height)] flex w-screen items-center gap-3 border-t bg-card px-3 py-2.5 sm:hidden">
<div className="standalone-hide fixed bottom-[var(--bottom-nav-height)] flex w-screen items-center gap-3 border-t bg-card px-3 py-2.5 sm:hidden">
<div className="center h-[32px] w-[32px] shrink-0 rounded-[6px] border bg-white shadow">
<Logo className="h-[20px] w-[20px] text-primary" />
</div>

View File

@ -65,6 +65,9 @@
.bottom-tabs {
padding-bottom: 20px;
}
.standalone-hide {
display: none;
}
}
}