diff --git a/static/bauchbinde/assets/script.js b/static/bauchbinde/assets/script.js index 0c04204..d3c9ca8 100644 --- a/static/bauchbinde/assets/script.js +++ b/static/bauchbinde/assets/script.js @@ -91,6 +91,9 @@ if (key === 'bottom') { root.style.setProperty('--bottom', value); } + if (key === 'top') { + root.style.setProperty('--top', value); + } if (key === 'width') { root.style.setProperty('--width', value); } diff --git a/static/bauchbinde/assets/style.css b/static/bauchbinde/assets/style.css index f45b9ab..8726f2e 100644 --- a/static/bauchbinde/assets/style.css +++ b/static/bauchbinde/assets/style.css @@ -11,6 +11,7 @@ --bottom: 9vw; --left: 12.5vw; --width: 67.5vw; + --top: auto; } :root.theme-main { @@ -45,6 +46,7 @@ body { bottom: var(--bottom); left: var(--left); width: var(--width); + top: var(--top); } .background {