Fix not being able to scroll when mouse hovers PlainTextInput (#2019)

* Remove overscroll-behavior: none for * (all elements)

* Revert "Remove overscroll-behavior: none for * (all elements)"

This reverts commit 189358908c.

* Use body instead of *, but keep CSS rule

* Unify two CSS rules
This commit is contained in:
Matthias Metelka 2022-08-18 04:48:28 +02:00 committed by GitHub
parent d1cbb86178
commit 7517af4942
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 7 deletions

View file

@ -14,8 +14,8 @@
body {
color: var(--text-fg);
background: var(--window-bg);
margin: 1em;
transition: opacity 0.5s ease-out;
margin: 2em;
overscroll-behavior: none;
}
@ -24,11 +24,6 @@ a {
text-decoration: none;
}
body {
margin: 2em;
overscroll-behavior: none;
}
h1 {
margin-bottom: 0.2em;
}

View file

@ -32,7 +32,7 @@ $utilities: (
flex-basis: 75%;
}
* {
body {
overscroll-behavior: none;
}