Fix deck options sticky bar at top disappearing on scroll

Issue was introduced in 7922f18296
when the styling was moved into base.scss. From what I can tell, there
are two locations where the current styling is required:

- the editor, to ensure the tags are shown at the bottom
- the change notetype screen, which requires this styling for a sticky
bar at top

I'm no CSS guru, so if someone thinks this could be solved in a better
way, please submit a follow-up PR.

Closes #1782
This commit is contained in:
Damien Elmes 2022-05-23 15:41:32 +10:00
parent 7a77a8f2f9
commit 9b0729970e
3 changed files with 8 additions and 5 deletions

View File

@ -32,11 +32,6 @@ $utilities: (
flex-basis: 75%;
}
html,
body {
height: 100%;
}
* {
overscroll-behavior: none;
}

View File

@ -23,6 +23,10 @@ html {
overflow-x: hidden;
}
html, body {
height: 100%;
}
#main {
padding: 0.5em 0.5em 1em 0.5em;
height: 100vh;

View File

@ -12,3 +12,7 @@ $btn-disabled-opacity: 0.4;
html {
overflow: hidden;
}
html, body {
height: 100%;
}