Skip to content

Scheduling infrastructure for absolutely everyone.

increased zindex of bottom nav (#1712)

Peer Richelsendf00df5124a4
diff --git a/components/Shell.tsx b/components/Shell.tsx
index d953cc09fda..2fbcbc2f090 100644
--- a/components/Shell.tsx
+++ b/components/Shell.tsx
@@ -106,10 +106,10 @@ export function ShellSubHeading(props: {
return (
<div className={classNames("block sm:flex justify-between mb-3", props.className)}>
<div>
- <h2 className="flex items-center content-center rtl:space-x-reverse space-x-2 text-base font-bold leading-6 text-gray-900">
+ <h2 className="flex items-center content-center space-x-2 text-base font-bold leading-6 text-gray-900 rtl:space-x-reverse">
{props.title}
</h2>
- {props.subtitle && <p className="ltr:mr-4 text-sm text-neutral-500">{props.subtitle}</p>}
+ {props.subtitle && <p className="text-sm ltr:mr-4 text-neutral-500">{props.subtitle}</p>}
</div>
{props.actions && <div className="flex-shrink-0">{props.actions}</div>}
</div>
@@ -317,7 +317,7 @@ export default function Shell(props: {
{props.children}
</div>
{/* show bottom navigation for md and smaller (tablet and phones) */}
- <nav className="fixed bottom-0 flex w-full bg-white shadow bottom-nav md:hidden">
+ <nav className="fixed bottom-0 z-40 flex w-full bg-white shadow bottom-nav md:hidden">
{/* note(PeerRich): using flatMap instead of map to remove settings from bottom nav */}
{navigation.flatMap((item, itemIdx) =>
item.href === "/settings/profile" ? (