forge
Explore
Log in

Don't you dare go Hollow

🎨 flatten top header (drop tinted drop-shadow)

Browse files at this commit

6a577835949035795d3d05a5c19bebd4bf411a1aBurak BoduroğluParent: 00019a8
  • style
    • 🎨 flatten top header (drop tinted drop-shadow)
Show full message
style: 🎨 flatten top header (drop tinted drop-shadow)
- remove the old blue-gray tinted header shadow; border-b only
- (also carries small in-progress tweaks: sidebar width, header title attr)
src/components/layout/app-shell.tsxmodified+3 -3
@@ -131,8 +131,8 @@ export function AppShell(props: ParentProps) {
131 131
132 <main class="min-w-0 flex-1">132 <main class="min-w-0 flex-1">
133 <Show when={auth.user() && !fullScreen()}>133 <Show when={auth.user() && !fullScreen()}>
134- <header class="sticky top-0 z-30 flex h-16 items-center gap-3 border-b border-border/70 bg-background px-4 shadow-[0_18px_40px_-34px_rgba(33,37,41,0.28)] sm:px-6 lg:px-8 dark:shadow-[0_18px_44px_-34px_rgba(0,0,0,0.72)]">134+ <header class="sticky top-0 z-30 flex h-16 items-center gap-3 border-b border-border/70 bg-background px-4 sm:px-6 lg:px-8">
135- <div class="flex min-w-0 shrink-0 items-center gap-2 sm:w-44">135+ <div class="flex min-w-0 shrink-0 items-center gap-2 sm:w-52 lg:w-60">
136 <Show when={location().pathname !== "/"}>136 <Show when={location().pathname !== "/"}>
137 <button137 <button
138 type="button"138 type="button"
@@ -144,7 +144,7 @@ export function AppShell(props: ParentProps) {
144 <IconChevronLeft class="h-4 w-4" />144 <IconChevronLeft class="h-4 w-4" />
145 </button>145 </button>
146 </Show>146 </Show>
147- <span class="hidden truncate text-sm font-semibold sm:block">{routeLabel()}</span>147+ <span class="hidden truncate text-sm font-semibold sm:block" title={routeLabel()}>{routeLabel()}</span>
148 </div>148 </div>
149 149
150 <div class="mx-auto flex min-w-0 max-w-xl flex-1 items-center justify-center">150 <div class="mx-auto flex min-w-0 max-w-xl flex-1 items-center justify-center">