Skip to content

Commit 1762b30

Browse files
authored
chore: update scrollbar so it looks less like a buggy element (#279)
Last time I opened the editor i thought it was something else but not a scroll bar... Co-authored-by: Juan <[email protected]>
1 parent a307f22 commit 1762b30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web-editor/src/theme/editorTheme.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ import OskariSemiBold from "../fonts/OskariG2-SemiBold.ttf";
44

55
export const scrollbarStyles = {
66
"&::-webkit-scrollbar": {
7-
width: "0.5em",
7+
width: "0.4em",
88
},
99
"&::-webkit-scrollbar-track": {
1010
boxShadow: "inset 0 0 6px rgba(0,0,0,0.00)",
1111
webkitBoxShadow: "inset 0 0 6px rgba(0,0,0,0.00)",
12+
margin: "0 1em 0 1em",
1213
},
1314
"&::-webkit-scrollbar-thumb": {
1415
backgroundColor: "rgba(0,0,0,.1)",

0 commit comments

Comments
 (0)