diff options
| author | Hank <hank@mullvad.net> | 2022-09-29 13:34:59 +0200 |
|---|---|---|
| committer | Hank <hank@mullvad.net> | 2022-10-03 16:19:12 +0200 |
| commit | f9e66ad43aa4c1d175f811d62b45dc05cdcbfb6a (patch) | |
| tree | c897095fff2e27369a5a8f459f6fbedf53289c81 | |
| parent | 63e1abcdea8505430e73d852f1651cc55a8a17d1 (diff) | |
| download | mullvadvpn-f9e66ad43aa4c1d175f811d62b45dc05cdcbfb6a.tar.xz mullvadvpn-f9e66ad43aa4c1d175f811d62b45dc05cdcbfb6a.zip | |
Use rounded corners on Scrollbar backgrodun
| -rw-r--r-- | gui/src/renderer/components/CustomScrollbars.tsx | 1 |
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', |
