mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
feat: improve semantic nav/main tags (#17800)
feat: nav/main elements Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
parent
d9ce74b896
commit
07290580a6
6 changed files with 111 additions and 113 deletions
|
|
@ -49,7 +49,7 @@
|
|||
|
||||
{@render header?.()}
|
||||
</header>
|
||||
<main
|
||||
<div
|
||||
tabindex="-1"
|
||||
class="relative grid h-dvh grid-cols-[theme(spacing.0)_auto] overflow-hidden bg-immich-bg max-md:pt-[var(--navbar-height-md)] pt-[var(--navbar-height)] dark:bg-immich-dark-bg sidebar:grid-cols-[theme(spacing.64)_auto]"
|
||||
>
|
||||
|
|
@ -59,7 +59,7 @@
|
|||
<SideBar />
|
||||
{/if}
|
||||
|
||||
<section class="relative">
|
||||
<main class="relative">
|
||||
{#if title || buttons}
|
||||
<div
|
||||
class="absolute flex h-16 w-full place-items-center justify-between border-b p-2 dark:border-immich-dark-gray dark:text-immich-dark-fg"
|
||||
|
|
@ -79,5 +79,5 @@
|
|||
<div class="{scrollbarClass} absolute {hasTitleClass} w-full overflow-y-auto" use:useActions={use}>
|
||||
{@render children?.()}
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
</main>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue