Skip to content

Commit 08d1cf5

Browse files
authored
fix(web): Stack assets in asset-viewer cut off on the left (#19253)
* - move overflow and scrollbar to stack-slideshow inner div * - format
1 parent 3e62497 commit 08d1cf5

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

web/src/lib/components/asset-viewer/asset-viewer.svelte

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -546,11 +546,8 @@
546546

547547
{#if stack && withStacked}
548548
{@const stackedAssets = stack.assets}
549-
<div
550-
id="stack-slideshow"
551-
class="flex place-item-center place-content-center absolute bottom-0 w-full col-span-4 col-start-1 overflow-x-auto overflow-y-hidden horizontal-scrollbar"
552-
>
553-
<div class="relative flex flex-row no-wrap">
549+
<div id="stack-slideshow" class="absolute bottom-0 w-full col-span-4 col-start-1">
550+
<div class="relative flex flex-row no-wrap overflow-x-auto overflow-y-hidden horizontal-scrollbar">
554551
{#each stackedAssets as stackedAsset (stackedAsset.id)}
555552
<div
556553
class={['inline-block px-1 relative transition-all pb-2']}

0 commit comments

Comments
 (0)