mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00: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:
parent
2d7a94ce23
commit
996ffed5eb
9 changed files with 51 additions and 46 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue