scroll-bar-width css variable attached to global

This commit is contained in:
NikolaBorislavovHristov 2019-01-02 11:17:48 +02:00
parent 1c40a92717
commit 1998811678

View file

@ -42,6 +42,10 @@
font-style: normal;
}
:root {
--scroll-bar-width: 8px;
}
:global {
* {
margin: 0px;
@ -64,7 +68,7 @@
line-height: 1;
::-webkit-scrollbar {
width: 8px;
width: var(--scroll-bar-width);
}
::-webkit-scrollbar-thumb {