mirror of https://github.com/jenil/chota.git
Merge pull request #57 from fromaline/fromaline/issue-56
Add custom scrollbar
This commit is contained in:
commit
acda1cdfa6
|
@ -29,6 +29,19 @@ html {
|
|||
-webkit-box-sizing: inherit;
|
||||
box-sizing: inherit;
|
||||
}
|
||||
* {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--color-lightGrey) var(--bg-primary);
|
||||
}
|
||||
*::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
}
|
||||
*::-webkit-scrollbar-track {
|
||||
background: var(--bg-primary);
|
||||
}
|
||||
*::-webkit-scrollbar-thumb {
|
||||
background: var(--color-lightGrey);
|
||||
}
|
||||
body {
|
||||
background-color: var(--bg-color);
|
||||
line-height: 1.6;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -29,6 +29,23 @@ html {
|
|||
box-sizing: inherit;
|
||||
}
|
||||
|
||||
* {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--color-lightGrey) var(--bg-primary);
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar-track {
|
||||
background: var(--bg-primary);
|
||||
}
|
||||
|
||||
*::-webkit-scrollbar-thumb {
|
||||
background: var(--color-lightGrey);
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--bg-color);
|
||||
line-height: 1.6;
|
||||
|
|
Loading…
Reference in New Issue