Skip to content

Commit

Permalink
fix(styles): ensure that scrollbars match light/dark scheme (#474)
Browse files Browse the repository at this point in the history
  • Loading branch information
scurker authored Dec 17, 2021
1 parent 0298c7b commit 4b645af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/styles/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

.cauldron--theme-dark {
--workspace-background-color: var(--dark-workspace-color);
color-scheme: dark;
}

.cauldron--theme-light {
color-scheme: light;
}

html {
Expand Down
2 changes: 1 addition & 1 deletion packages/styles/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
padding: var(--layout-padding) var(--layout-padding) 0 var(--layout-padding);
position: fixed;
overflow-x: hidden;
overflow-y: scroll;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
right: 0;
bottom: 0;
Expand Down

0 comments on commit 4b645af

Please sign in to comment.