fix: give docx and pptx previews in the file modal a definite frame height (#28878)
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -569,7 +569,7 @@
|
|||||||
{#if docxError}
|
{#if docxError}
|
||||||
<div class="text-red-500 text-sm p-4">{docxError}</div>
|
<div class="text-red-500 text-sm p-4">{docxError}</div>
|
||||||
{:else if docxData}
|
{:else if docxData}
|
||||||
<DocxPreview data={docxData} className="max-h-[60vh]" />
|
<DocxPreview data={docxData} className="h-[60vh]" />
|
||||||
{:else}
|
{:else}
|
||||||
<div class="text-gray-500 text-sm p-4">No content available</div>
|
<div class="text-gray-500 text-sm p-4">No content available</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
@@ -215,7 +215,7 @@
|
|||||||
bind:this={rootEl}
|
bind:this={rootEl}
|
||||||
class="relative grid {hideThumbs
|
class="relative grid {hideThumbs
|
||||||
? 'grid-cols-[minmax(0,1fr)]'
|
? 'grid-cols-[minmax(0,1fr)]'
|
||||||
: 'grid-cols-[144px_minmax(0,1fr)]'} h-full min-h-0 bg-transparent text-gray-900 dark:text-gray-100 {className}"
|
: 'grid-cols-[144px_minmax(0,1fr)]'} min-h-0 bg-transparent text-gray-900 dark:text-gray-100 {className}"
|
||||||
>
|
>
|
||||||
<aside
|
<aside
|
||||||
class={hideThumbs
|
class={hideThumbs
|
||||||
|
|||||||
Reference in new issue
Block a user