From 554a99c96d223eacc4bb6e10e3f6ad1712397f3a Mon Sep 17 00:00:00 2001 From: MikunoNaka Date: Mon, 12 Jul 2021 11:42:47 +0530 Subject: fixed transition only happening on hover in --- src/styles/_theme.scss | 3 +++ src/styles/global.scss | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'src/styles') diff --git a/src/styles/_theme.scss b/src/styles/_theme.scss index 09c90d5..74ed2f2 100644 --- a/src/styles/_theme.scss +++ b/src/styles/_theme.scss @@ -62,6 +62,7 @@ $link2: $foreground2; $defFG: $foreground1; $altFG: $foreground2; +$border0: gray; $border1: pink; $border2: lightgreen; @@ -72,3 +73,5 @@ $underline3: $warningColor; $defBigShadow: 0px 2px 4px $shadowColor; $floatingShadow: 6px 6px 6px $shadowColor; + +$defTransition: 0.3s; diff --git a/src/styles/global.scss b/src/styles/global.scss index ef3d11d..3d077f6 100644 --- a/src/styles/global.scss +++ b/src/styles/global.scss @@ -17,9 +17,9 @@ ::-webkit-scrollbar { width: 1vw; } + * { scrollbar-width: 1vw; /* Firefox */ - transition: 0.3s; } body { -- cgit v1.2.3