fix(web): Stack assets in asset-viewer cut off on the left (#19253)

* - move overflow and scrollbar to stack-slideshow inner div

* - format
This commit is contained in:
xCJPECKOVERx 2025-06-19 10:20:25 -04:00 committed by GitHub
parent 3e62497fd0
commit 08d1cf5bde
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -546,11 +546,8 @@
{#if stack && withStacked}
{@const stackedAssets = stack.assets}
<div
id="stack-slideshow"
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"
>
<div class="relative flex flex-row no-wrap">
<div id="stack-slideshow" class="absolute bottom-0 w-full col-span-4 col-start-1">
<div class="relative flex flex-row no-wrap overflow-x-auto overflow-y-hidden horizontal-scrollbar">
{#each stackedAssets as stackedAsset (stackedAsset.id)}
<div
class={['inline-block px-1 relative transition-all pb-2']}