Skip to content

Commit

Permalink
Removes scrollbar from File preview when not needed (#5265)
Browse files Browse the repository at this point in the history
* fix scrollbar when not needed

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
  • Loading branch information
abidlabs and gradio-pr-bot committed Aug 18, 2023
1 parent 96e4f5b commit 0698221
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changeset/pink-rockets-start.md
@@ -0,0 +1,6 @@
---
"@gradio/file": patch
"gradio": patch
---

feat:Removes scrollbar from File preview when not needed
2 changes: 1 addition & 1 deletion js/file/shared/FilePreview.svelte
Expand Up @@ -65,7 +65,7 @@
}
.file-preview-holder {
overflow-x: auto;
overflow-y: scroll;
overflow-y: auto;
}
.file-preview {
width: var(--size-full);
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0698221

Please sign in to comment.