Skip to content

Commit

Permalink
Quick fix: File height overflow (#7507)
Browse files Browse the repository at this point in the history
* quick fix

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
  • Loading branch information
dawoodkhan82 and gradio-pr-bot committed Feb 22, 2024
1 parent 8f050ee commit 9c36572
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/puny-bats-say.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@gradio/file": patch
"gradio": patch
---

fix:Quick fix: File height overflow
4 changes: 4 additions & 0 deletions js/file/shared/FilePreview.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@
color: var(--body-text-color);
}
.file-preview-holder {
overflow: auto;
}
.file {
display: flex;
width: var(--size-full);
Expand Down

0 comments on commit 9c36572

Please sign in to comment.