Skip to content

Commit

Permalink
Hide the scroll bar in WaveformControls when it's not necessary (grad…
Browse files Browse the repository at this point in the history
…io-app#8065)

* Hide the scroll bar in WaveformControls when it's not necessary

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <[email protected]>
  • Loading branch information
whitphx and gradio-pr-bot authored Apr 23, 2024
1 parent d665f40 commit 5bf61cb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/loud-ears-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@gradio/audio": patch
"gradio": patch
---

feat:Hide the scroll bar in WaveformControls when it's not necessary
7 changes: 6 additions & 1 deletion js/audio/shared/WaveformControls.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,12 @@
grid-template-areas:
"playback playback"
"controls editing";
overflow: scroll;
}
}
@media (max-width: 319px) {
.controls {
overflow-x: scroll;
}
}
Expand Down

0 comments on commit 5bf61cb

Please sign in to comment.