minor css adjustments to scrolling
This commit is contained in:
parent
c681d85479
commit
87ce929648
1 changed files with 14 additions and 4 deletions
|
@ -6,12 +6,18 @@
|
||||||
box-sizing: border-box !important;
|
box-sizing: border-box !important;
|
||||||
overflow-wrap: anywhere;
|
overflow-wrap: anywhere;
|
||||||
object-fit: scale-down;
|
object-fit: scale-down;
|
||||||
|
scroll-behavior: smooth;
|
||||||
}
|
}
|
||||||
|
|
||||||
html,
|
:root {
|
||||||
body {
|
max-width: inherit;
|
||||||
max-width: 100%;
|
overflow-x: hidden;
|
||||||
overflow-x: clip;
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
html:not(:root),
|
||||||
|
body:not(:root) {
|
||||||
|
max-width: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
#root {
|
#root {
|
||||||
|
@ -230,6 +236,10 @@ details[open] > summary {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
|
* {
|
||||||
|
scrollbar-color: white black;
|
||||||
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
background-color: black;
|
background-color: black;
|
||||||
color: white;
|
color: white;
|
||||||
|
|
Loading…
Reference in a new issue