Scheduling infrastructure for absolutely everyone.
replaced iphone check with general standalone mode media query for padding bottom on bottom nav
Peer Richelsen0572d5653ef9
diff --git a/components/Shell.tsx b/components/Shell.tsxindex 79cd18fe3bc..480195e559e 100644--- a/components/Shell.tsx+++ b/components/Shell.tsx@@ -146,9 +146,7 @@ export default function Shell(props) {<div className="px-4 sm:px-6 md:px-8">{props.children}</div>{/* show bottom navigation for md and smaller (tablet and phones) */}- <nav- style={{ paddingBottom: "env(safe-area-inset-bottom)" }}- className="md:hidden flex fixed bottom-0 bg-white w-full rounded-lg shadow">+ <nav className="bottom-nav md:hidden flex fixed bottom-0 bg-white w-full shadow">{/* note(PeerRich): using flatMap instead of map to remove settings from bottom nav */}{navigation.flatMap((item, itemIdx) =>item.name === "Settings" ? (diff --git a/styles/globals.css b/styles/globals.cssindex 59a997fcb66..008d057b7a9 100644--- a/styles/globals.css+++ b/styles/globals.css@@ -81,6 +81,12 @@}}+@media all and (display-mode: standalone) {+ .bottom-nav {+ padding-bottom: 24px;+ }+}+.react-multi-email > [type='text'] {--tw-ring-shadow: 0 0 0 0 0;}