mirror of
https://github.com/immich-app/immich.git
synced 2025-01-28 00:59:18 -05:00
fix: hide scrollbar when the asset grid is empty (#12217)
This commit is contained in:
parent
f46abbb5b5
commit
efdf1b49f4
1 changed files with 15 additions and 14 deletions
|
@ -762,7 +762,7 @@
|
||||||
{#if showShortcuts}
|
{#if showShortcuts}
|
||||||
<ShowShortcuts on:close={() => (showShortcuts = !showShortcuts)} />
|
<ShowShortcuts on:close={() => (showShortcuts = !showShortcuts)} />
|
||||||
{/if}
|
{/if}
|
||||||
|
{#if assetStore.buckets.length > 0}
|
||||||
<Scrubber
|
<Scrubber
|
||||||
invisible={showSkeleton}
|
invisible={showSkeleton}
|
||||||
{assetStore}
|
{assetStore}
|
||||||
|
@ -776,6 +776,7 @@
|
||||||
{onScrub}
|
{onScrub}
|
||||||
{stopScrub}
|
{stopScrub}
|
||||||
/>
|
/>
|
||||||
|
{/if}
|
||||||
|
|
||||||
<!-- Right margin MUST be equal to the width of immich-scrubbable-scrollbar -->
|
<!-- Right margin MUST be equal to the width of immich-scrubbable-scrollbar -->
|
||||||
<section
|
<section
|
||||||
|
|
Loading…
Add table
Reference in a new issue