hide PWA in standalone
This commit is contained in:
parent
1649a24537
commit
d60c4757b9
@ -24,7 +24,7 @@ export default function MobileBanner() {
|
|||||||
}
|
}
|
||||||
if (!showPWAPrompt) return null;
|
if (!showPWAPrompt) return null;
|
||||||
return (
|
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">
|
<div className="center h-[32px] w-[32px] shrink-0 rounded-[6px] border bg-white shadow">
|
||||||
<Logo className="h-[20px] w-[20px] text-primary" />
|
<Logo className="h-[20px] w-[20px] text-primary" />
|
||||||
</div>
|
</div>
|
||||||
|
@ -65,6 +65,9 @@
|
|||||||
.bottom-tabs {
|
.bottom-tabs {
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
.standalone-hide {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user