custom scrollbars

This commit is contained in:
svensken 2022-11-04 01:08:52 +03:00
parent a934fea940
commit c068b91a73
2 changed files with 15 additions and 0 deletions

View File

@ -7,6 +7,7 @@
box-sizing: border-box;
width: 100%;
height: 100%;
overflow-y: auto;
// background-color: #fff;
.section-head {

View File

@ -38,3 +38,17 @@ button, input, textarea {
--sk-palette-5: #3a86ff;
--sk-overlay: rgba(0,0,0,0.5);
}
/* Works on Firefox */
* {
scrollbar-width: thin;
}
*::-webkit-scrollbar {
width: 0.35rem;
}
*::-webkit-scrollbar-thumb {
background-color: rgba(255, 255, 255, 0.2);
border-radius: 0.5rem;
}