mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -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 {
|
html {
|
||||||
overflow-x: hidden;
|
|
||||||
overscroll-behavior: none;
|
overscroll-behavior: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
overflow-x: hidden;
|
||||||
&:not(.isMac),
|
&:not(.isMac),
|
||||||
&:not(.isMac) * {
|
&:not(.isMac) * {
|
||||||
@include scrollbar.custom;
|
@include scrollbar.custom;
|
||||||
|
|
|
@ -14,7 +14,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
height: 100vh;
|
min-height: 100vh;
|
||||||
|
height: auto;
|
||||||
width: min(100vw, 70em);
|
width: min(100vw, 70em);
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0 1em 1em 1em;
|
padding: 0 1em 1em 1em;
|
||||||
|
|
Loading…
Reference in a new issue