Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion apps/web/src/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,10 @@ function MobileMenu({
className="fixed inset-0 z-40 sm:hidden"
onClick={() => setIsMenuOpen(false)}
/>
<div className="fixed top-[69px] left-0 right-0 bg-white/80 backdrop-blur-sm border-b border-neutral-100 shadow-[0_4px_6px_-1px_rgba(0,0,0,0.1),0_2px_4px_-2px_rgba(0,0,0,0.1)] z-50 sm:hidden animate-in slide-in-from-top duration-300 max-h-[calc(100vh-69px)] overflow-y-auto">
<div
className="fixed top-[69px] left-0 right-0 bg-white/80 backdrop-blur-sm border-b border-neutral-100 shadow-[0_4px_6px_-1px_rgba(0,0,0,0.1),0_2px_4px_-2px_rgba(0,0,0,0.1)] z-50 sm:hidden animate-in slide-in-from-top duration-300 max-h-[calc(100vh-69px)] overflow-y-auto"
style={{ paddingBottom: "env(safe-area-inset-bottom)" }}
>
<nav className={`${maxWidthClass} mx-auto px-4 py-6`}>
<div className="space-y-6">
<MobileMenuLinks
Expand Down
5 changes: 4 additions & 1 deletion apps/web/src/routes/__root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ export const Route = createRootRouteWithContext<RouterContext>()({
head: () => ({
meta: [
{ charSet: "utf-8" },
{ name: "viewport", content: "width=device-width, initial-scale=1" },
{
name: "viewport",
content: "width=device-width, initial-scale=1, viewport-fit=cover",
},
{ title: TITLE },
{ name: "description", content: DESCRIPTION },
{ name: "keywords", content: KEYWORDS },
Expand Down
2 changes: 2 additions & 0 deletions apps/web/src/routes/_view/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ function MobileDocsDrawer({
}`}
style={{
paddingLeft: "env(safe-area-inset-left)",
paddingBottom: "env(safe-area-inset-bottom)",
}}
>
<div
Expand Down Expand Up @@ -189,6 +190,7 @@ function MobileHandbookDrawer({
}`}
style={{
paddingLeft: "env(safe-area-inset-left)",
paddingBottom: "env(safe-area-inset-bottom)",
}}
>
<div
Expand Down