minor css adjustments to scrolling

This commit is contained in:
Jonas Tobias Hopusch 2024-04-27 07:33:55 +02:00
parent c681d85479
commit 87ce929648
Signed by: jotoho
GPG key ID: 913BDF1196DCF600

View file

@ -6,12 +6,18 @@
box-sizing: border-box !important;
overflow-wrap: anywhere;
object-fit: scale-down;
scroll-behavior: smooth;
}
html,
body {
max-width: 100%;
overflow-x: clip;
:root {
max-width: inherit;
overflow-x: hidden;
overflow-y: auto;
}
html:not(:root),
body:not(:root) {
max-width: inherit;
}
#root {
@ -230,6 +236,10 @@ details[open] > summary {
}
@media (prefers-color-scheme: dark) {
* {
scrollbar-color: white black;
}
html {
background-color: black;
color: white;