mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
* Fix navigation styling * z-index * refactor transition and hover * Add NavigationButton and NavigationArea components * Use group-hover to simplify hover styling * fix check * fix check --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
9 lines
305 B
Svelte
9 lines
305 B
Svelte
<script lang="ts">
|
|
</script>
|
|
|
|
<!-- svelte-ignore a11y-no-static-element-interactions -->
|
|
<div class="group h-full flex place-items-center" on:click on:keydown>
|
|
<button class="rounded-full p-3 transition text-gray-500 mx-4 group-hover:text-white group-hover:bg-gray-500">
|
|
<slot />
|
|
</button>
|
|
</div>
|