summaryrefslogtreecommitdiffhomepage
path: root/gui/src/renderer/components
diff options
context:
space:
mode:
authorHank <hank@mullvad.net>2022-09-29 13:34:59 +0200
committerHank <hank@mullvad.net>2022-10-03 16:19:12 +0200
commitf9e66ad43aa4c1d175f811d62b45dc05cdcbfb6a (patch)
treec897095fff2e27369a5a8f459f6fbedf53289c81 /gui/src/renderer/components
parent63e1abcdea8505430e73d852f1651cc55a8a17d1 (diff)
downloadmullvadvpn-f9e66ad43aa4c1d175f811d62b45dc05cdcbfb6a.tar.xz
mullvadvpn-f9e66ad43aa4c1d175f811d62b45dc05cdcbfb6a.zip
Use rounded corners on Scrollbar backgrodun
Diffstat (limited to 'gui/src/renderer/components')
-rw-r--r--gui/src/renderer/components/CustomScrollbars.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/src/renderer/components/CustomScrollbars.tsx b/gui/src/renderer/components/CustomScrollbars.tsx
index 7acabeaeab..a760647cbe 100644
--- a/gui/src/renderer/components/CustomScrollbars.tsx
+++ b/gui/src/renderer/components/CustomScrollbars.tsx
@@ -35,6 +35,7 @@ const StyledTrack = styled.div({}, (props: { canScroll: boolean; show: boolean }
bottom: 0,
width: '16px',
backgroundColor: props.show ? 'rgba(0, 0, 0, 0.2)' : 'rgba(0, 0, 0, 0)',
+ borderRadius: '8px',
transition: 'width 0.1s ease-in-out, background-color 0.25s ease-in-out',
zIndex: 99,
pointerEvents: props.canScroll ? 'auto' : 'none',