0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

Custom scrollbar fixes

This commit is contained in:
Víctor Losada Hernández
2024-04-02 13:47:16 +02:00
parent 9f6bc10369
commit 45106b47d4
3 changed files with 31 additions and 14 deletions

View File

@@ -24,18 +24,13 @@
animation-duration: 0.4s;
}
.CodeMirror-sizer {
padding-right: 0 !important;
//this setting must be !important, because CodeMirror sets it inline. Achieves overlay scrollbar
}
.CodeMirror-vscrollbar {
&::-webkit-scrollbar {
width: 20px;
}
&::-webkit-scrollbar-thumb {
width: 20px;
background: linear-gradient(90deg, #85858599 15px, #80808000 15px);
background: linear-gradient(90deg, #858585 15px, #808080 15px);
}
}