Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/embed-playback-bar-hover-scrollbar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hashintel/petrinaut": patch
---

The embedded preview's playback bar scrolls only sideways, so resting the pointer on one of its controls no longer shows a vertical scrollbar inside the bar.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,13 @@ const playbackPositionStyle = css({
const playbackControlsScrollStyle = css({
width: "full",
minWidth: "0",
// A narrow embed scrolls the row sideways to reach the controls at its end.
// Setting overflow on one axis makes the other axis scroll as well unless it
// is set too, and a toolbar button's hover scale counts towards the
// scrollable area though it takes no layout space: a pointer resting on a
// button would otherwise show a vertical scrollbar.
overflowX: "auto",
overflowY: "hidden",
});

const playbackControlsRowStyle = css({
Expand Down
Loading