mirror of
https://github.com/immich-app/immich.git
synced 2025-11-23 16:50:54 +09:00
fix(web): navigation buttons z-order (#3286)
* 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>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user