styled scrollbar on x axis
mellobacon committed
Aug 25, 2022 at 13:36 UTC
45a94686536f38c8146b31ddc39fcace1a95c947
1 file changed
+4
-1
src/components/Content/Editor/CodeMirrorEditor.svelte
+4
-1
@@ -50,7 +50,7 @@
50
}
51
:global(.cm-scroller) {
52
overflow-y: overlay;
53
- overflow-x: hidden;
53
+ overflow-x: overlay !important;
54
}
55
:global(.cm-scroller)::-webkit-scrollbar {
56
width: 20px;
@@ -58,6 +58,9 @@
58
:global(.cm-scroller)::-webkit-scrollbar-thumb {
59
background-color: #4c4c4c38;;
60
}
61
+ :global(.cm-scroller)::-webkit-scrollbar-corner {
62
+ background-color: transparent;
63
+ }
64
:global(.cm-content) {
65
padding: 0 !important;
66
}