@@ -33,7 +33,6 @@ const bottomNavItem = (active: boolean) =>
3333 <link rel =" icon" type =" image/svg+xml" href =" /favicon.svg" />
3434 <link rel =" shortcut icon" href =" /favicon.ico" />
3535 <link rel =" apple-touch-icon" sizes =" 180x180" href =" /apple-touch-icon.png" />
36- <meta name =" apple-mobile-web-app-title" content =" Scrob" />
3736 <link rel =" manifest" href =" /site.webmanifest" crossorigin =" use-credentials" />
3837 <!-- theme-color: dark default, overridden when light class is applied via JS -->
3938 <meta name =" theme-color" content =" #09090b" id =" theme-color-meta" />
@@ -72,7 +71,7 @@ const bottomNavItem = (active: boolean) =>
7271 { ! hideNav && (
7372 <nav class = " px-4 md:px-6 py-3 md:py-4 text-sm relative z-30 bg-zinc-950 md:bg-transparent" >
7473 <!-- Default bar -->
75- <div id = " nav-default" class = " flex items-center justify-between gap-3" >
74+ <div id = " nav-default" class = " flex items-center justify-between gap-3 safe-area-top " >
7675 <!-- Left: logo + desktop links -->
7776 <div class = " flex items-center gap-6 min-w-0" >
7877 <a href = " /" class = " flex items-center gap-2 text-zinc-100 font-bold text-lg tracking-tight shrink-0 group active:opacity-70 transition-opacity" >
@@ -142,7 +141,7 @@ const bottomNavItem = (active: boolean) =>
142141 </div >
143142
144143 <!-- Mobile search bar (hidden by default, shown when search icon tapped) -->
145- <div id = " nav-search" class = " hidden items-center gap-2" >
144+ <div id = " nav-search" class = " hidden items-center gap-2 safe-area-top " >
146145 <button id = " mobile-search-close" class = " p-2 text-zinc-400 hover:text-zinc-100 transition-colors shrink-0" aria-label = " Close search" >
147146 <svg xmlns = " http://www.w3.org/2000/svg" width = " 18" height = " 18" viewBox = " 0 0 24 24" fill = " none" stroke = " currentColor" stroke-width = " 2.5" stroke-linecap = " round" stroke-linejoin = " round" ><path d = " M18 6 6 18" /><path d = " m6 6 12 12" /></svg >
148147 </button >
@@ -163,6 +162,7 @@ const bottomNavItem = (active: boolean) =>
163162 <div id =" now-playing-section" ></div >
164163
165164 <main class =" px-6 md:px-6 py-6 md:py-8 max-w-screen-xl mx-auto pb-24 md:pb-8" >
165+ { hideNav && <div class = " safe-area-top" />}
166166 <slot />
167167 </main >
168168
0 commit comments