Skip to content

Commit

Permalink
fix(styles): rules order in block (#1912)
Browse files Browse the repository at this point in the history
  • Loading branch information
ogonkov authored Oct 23, 2024
1 parent 9933d5f commit 2d9c88e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions styles/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
}

.g-root:not(.g-root_mobile):not(.g-root_native-scrollbar) {
scrollbar-width: var(--g-scrollbar-width);
scrollbar-color: var(--g-color-scroll-handle) var(--g-color-scroll-track);

&::-webkit-scrollbar,
*::-webkit-scrollbar {
width: var(--g-scrollbar-width);
Expand All @@ -50,9 +53,6 @@
*::-webkit-scrollbar-thumb:hover {
background: var(--g-color-scroll-handle-hover);
}

scrollbar-width: var(--g-scrollbar-width);
scrollbar-color: var(--g-color-scroll-handle) var(--g-color-scroll-track);
}

@keyframes g-loading-animation {
Expand Down

0 comments on commit 2d9c88e

Please sign in to comment.