1
0
mirror of https://github.com/immich-app/immich.git synced 2025-07-04 05:50:38 +02:00

fix: immich ui toggles and switches (#16834)

* fix: immich ui toggles and switches

* Update web/src/lib/components/shared-components/navigation-bar/navigation-bar.svelte

Co-authored-by: Alex <alex.tran1502@gmail.com>

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
Jason Rasmussen
2025-03-12 17:25:27 -04:00
committed by GitHub
parent 2d7a94ce23
commit 996ffed5eb
9 changed files with 51 additions and 46 deletions

View File

@ -503,12 +503,11 @@
class:opacity-0={galleryInView}
class:opacity-100={!galleryInView}
>
<div class="flex">
<div class="flex items-center">
<IconButton
icon={isSaved ? mdiHeart : mdiHeartOutline}
shape="round"
variant="ghost"
size="giant"
color="secondary"
aria-label={isSaved ? $t('unfavorite') : $t('favorite')}
onclick={() => handleSaveMemory(current)}
@ -524,9 +523,11 @@
/> -->
<ButtonContextMenu
icon={mdiDotsVertical}
padding="3"
title={$t('menu')}
onclick={() => handleAction('pause')}
direction="left"
size="20"
align="bottom-right"
class="text-white dark:text-white"
>
@ -548,7 +549,6 @@
color="secondary"
variant="ghost"
shape="round"
size="giant"
class="text-white dark:text-white"
/>
</div>