mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Fix double scrollbars in deck options (#2406)
* Fix double scrollbars in deck options * Remove !important Future pages may want to override overflow-x (?) and it doesn't seem to change anything for now. * Allow the body to expand vertically in the import CSV page
This commit is contained in:
parent
af620186ff
commit
ff58c664d1
2 changed files with 3 additions and 2 deletions
|
@ -40,11 +40,11 @@ body {
|
|||
}
|
||||
|
||||
html {
|
||||
overflow-x: hidden;
|
||||
overscroll-behavior: none;
|
||||
}
|
||||
|
||||
body {
|
||||
overflow-x: hidden;
|
||||
&:not(.isMac),
|
||||
&:not(.isMac) * {
|
||||
@include scrollbar.custom;
|
||||
|
|
|
@ -14,7 +14,8 @@
|
|||
}
|
||||
|
||||
body {
|
||||
height: 100vh;
|
||||
min-height: 100vh;
|
||||
height: auto;
|
||||
width: min(100vw, 70em);
|
||||
margin: 0 auto;
|
||||
padding: 0 1em 1em 1em;
|
||||
|
|
Loading…
Reference in a new issue