mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
Make scrollbar track transparent (#2260)
This commit is contained in:
5
.changeset/wicked-cougars-repeat.md
Normal file
5
.changeset/wicked-cougars-repeat.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Make scrollbar track transparent
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
@mixin scrollbar($color: var(--#{$prefix}body-color-rgb)) {
|
@mixin scrollbar($color: var(--#{$prefix}body-color-rgb)) {
|
||||||
#{if(&, "&", "*")} {
|
#{if(&, "&", "*")} {
|
||||||
scrollbar-color: color-transparent(var(--#{$prefix}scrollbar-color, var(--#{$prefix}body-color)), .20);
|
scrollbar-color: color-transparent(var(--#{$prefix}scrollbar-color, var(--#{$prefix}body-color)), .20) transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
#{if(&, "&", "*")}::-webkit-scrollbar {
|
#{if(&, "&", "*")}::-webkit-scrollbar {
|
||||||
|
|||||||
Reference in New Issue
Block a user