mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
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:
parent
d1cbb86178
commit
7517af4942
2 changed files with 2 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@ $utilities: (
|
|||
flex-basis: 75%;
|
||||
}
|
||||
|
||||
* {
|
||||
body {
|
||||
overscroll-behavior: none;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue