mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-07 02:58:21 +00:00
fix: give docx and pptx previews in the file modal a definite frame height (#28878)
This commit is contained in:
parent
ccbb3303f2
commit
d1c207d091
2 changed files with 2 additions and 2 deletions
|
|
@ -569,7 +569,7 @@
|
|||
{#if docxError}
|
||||
<div class="text-red-500 text-sm p-4">{docxError}</div>
|
||||
{:else if docxData}
|
||||
<DocxPreview data={docxData} className="max-h-[60vh]" />
|
||||
<DocxPreview data={docxData} className="h-[60vh]" />
|
||||
{:else}
|
||||
<div class="text-gray-500 text-sm p-4">No content available</div>
|
||||
{/if}
|
||||
|
|
|
|||
|
|
@ -215,7 +215,7 @@
|
|||
bind:this={rootEl}
|
||||
class="relative grid {hideThumbs
|
||||
? '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
|
||||
class={hideThumbs
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue