mirror of
https://github.com/immich-app/immich.git
synced 2024-12-26 10:50:29 +02:00
chore: flip album icon (#2300)
This commit is contained in:
parent
fe3d6b870a
commit
b423852fad
@ -7,6 +7,7 @@
|
|||||||
export let title: string;
|
export let title: string;
|
||||||
export let logo: typeof Icon;
|
export let logo: typeof Icon;
|
||||||
export let isSelected: boolean;
|
export let isSelected: boolean;
|
||||||
|
export let flippedLogo = false;
|
||||||
|
|
||||||
let showMoreInformation = false;
|
let showMoreInformation = false;
|
||||||
|
|
||||||
@ -25,7 +26,11 @@
|
|||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div class="flex gap-4 place-items-center w-full overflow-hidden truncate">
|
<div class="flex gap-4 place-items-center w-full overflow-hidden truncate">
|
||||||
<svelte:component this={logo} size="1.5em" class="shrink-0" />
|
<svelte:component
|
||||||
|
this={logo}
|
||||||
|
size="1.5em"
|
||||||
|
class="shrink-0 {flippedLogo ? '-scale-x-100' : ''}"
|
||||||
|
/>
|
||||||
<p class="font-medium text-sm">{title}</p>
|
<p class="font-medium text-sm">{title}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -151,6 +151,7 @@
|
|||||||
<SideBarButton
|
<SideBarButton
|
||||||
title="Albums"
|
title="Albums"
|
||||||
logo={ImageAlbum}
|
logo={ImageAlbum}
|
||||||
|
flippedLogo={true}
|
||||||
isSelected={$page.route.id === '/(user)/albums'}
|
isSelected={$page.route.id === '/(user)/albums'}
|
||||||
>
|
>
|
||||||
<svelte:fragment slot="moreInformation">
|
<svelte:fragment slot="moreInformation">
|
||||||
|
Loading…
Reference in New Issue
Block a user