Fix footer moving upwards

This commit is contained in:
RumovZ 2022-06-03 09:06:30 +02:00
parent 92e13ae0d3
commit ab91517bb4
2 changed files with 4 additions and 4 deletions

View file

@ -37,11 +37,13 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
<style lang="scss"> <style lang="scss">
.sticky-footer { .sticky-footer {
position: sticky; position: fixed;
bottom: 0; bottom: 0;
left: 0;
right: 0;
z-index: 10; z-index: 10;
margin: 0.75rem; margin: 0;
padding: 0.25rem; padding: 0.25rem;
background: var(--window-bg); background: var(--window-bg);

View file

@ -17,12 +17,10 @@
body { body {
width: min(100vw, 70em); width: min(100vw, 70em);
margin: 0 auto; margin: 0 auto;
height: 100%;
} }
html { html {
overflow-x: hidden; overflow-x: hidden;
height: 100%;
} }
#main { #main {