diff --git a/src/app/styles.less b/src/app/styles.less index d53f5f081..054ae2fce 100644 --- a/src/app/styles.less +++ b/src/app/styles.less @@ -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 {