🎨 flatten top header (drop tinted drop-shadow)
Browse files at this commit6a577835949035795d3d05a5c19bebd4bf411a1aParent: 00019a8- style
- 🎨 flatten top header (drop tinted drop-shadow)
1 changed file +3 -3
src/components/layout/app-shell.tsxmodified+3 -3
| @@ -131,8 +131,8 @@ export function AppShell(props: ParentProps) { | ||
| 131 | 131 | |
| 132 | 132 | <main class="min-w-0 flex-1"> |
| 133 | 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)]"> | |
| 135 | - <div class="flex min-w-0 shrink-0 items-center gap-2 sm:w-44"> | |
| 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-52 lg:w-60"> | |
| 136 | 136 | <Show when={location().pathname !== "/"}> |
| 137 | 137 | <button |
| 138 | 138 | type="button" |
| @@ -144,7 +144,7 @@ export function AppShell(props: ParentProps) { | ||
| 144 | 144 | <IconChevronLeft class="h-4 w-4" /> |
| 145 | 145 | </button> |
| 146 | 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 | 148 | </div> |
| 149 | 149 | |
| 150 | 150 | <div class="mx-auto flex min-w-0 max-w-xl flex-1 items-center justify-center"> |