fix(web): cull offscreen thumbnails on individual shared links (#31891)
fix(web): cull offscreen thumbnails on individual shared links (#31890) (cherry picked from commit f7d1552c37dc8aea078bd997178a15d807a8c346) Co-authored-by: bo0tzz <git@bo0tzz.me>
This commit is contained in:
1 parent
a9d102234b
commit
bc78992af4
1 file changed
+5
-1
@@ -77,7 +77,11 @@
|
||||
</script>
|
||||
|
||||
{#if sharedLink?.allowUpload || assets.length > 1}
|
||||
<main class="isolate mx-4 mt-24 mb-40" bind:clientHeight={viewport.height} bind:clientWidth={viewport.width}>
|
||||
<main
|
||||
class="isolate mx-4 mt-24 mb-40 max-h-screen"
|
||||
bind:clientHeight={viewport.height}
|
||||
bind:clientWidth={viewport.width}
|
||||
>
|
||||
<GalleryViewer {assets} assetInteraction={assetMultiSelectManager} {viewport} allowDeletion={false} />
|
||||
</main>
|
||||
|
||||
|
||||
Reference in new issue
Block a user