mirror of
https://github.com/kremalicious/umami.git
synced 2025-01-18 17:09:26 +01:00
fix: match background in dark mode overscroll
In macOS and iOS devices you can scroll past the body. When this happens in dark mode, the css variables are only changed from the `body`, and the ones used in `html` are not changed. This causes the overscroll background to be displayed as the light mode color.
This commit is contained in:
parent
04a51bc8c9
commit
2f706996a2
@ -12,9 +12,12 @@ body {
|
||||
flex: 1;
|
||||
|
||||
font-size: var(--font-size-normal);
|
||||
overflow-y: overlay;
|
||||
}
|
||||
|
||||
body {
|
||||
color: var(--gray900);
|
||||
background: var(--gray75);
|
||||
overflow-y: overlay;
|
||||
}
|
||||
|
||||
.zh-CN {
|
||||
|
Loading…
Reference in New Issue
Block a user