aboutsummaryrefslogtreecommitdiffstats
path: root/core/css/public.scss
diff options
context:
space:
mode:
Diffstat (limited to 'core/css/public.scss')
-rw-r--r--core/css/public.scss14
1 files changed, 2 insertions, 12 deletions
diff --git a/core/css/public.scss b/core/css/public.scss
index 7001a4ca6da..ebf187f0db5 100644
--- a/core/css/public.scss
+++ b/core/css/public.scss
@@ -1,17 +1,7 @@
#body-public {
- --footer-height: calc(var(--default-line-height) + 2 * var(--default-grid-baseline));;
-
- &:has(.footer__legal-links),
- &:has(.footer__simple-sign-up) {
- --footer-height: calc(2 * var(--default-line-height) + 3 * var(--default-grid-baseline));;
- }
-
- &:has(.footer__legal-links):has(.footer__simple-sign-up) {
- --footer-height: calc(3 * var(--default-line-height) + 3 * var(--default-grid-baseline));
- }
+ --footer-height: calc(2lh + 2 * var(--default-grid-baseline)); // Set the initial value, will be updated programmatically to match the actual height
.header-right {
-
#header-primary-action a {
color: var(--color-primary-element-text);
}
@@ -47,6 +37,7 @@
#content {
min-height: var(--body-height, calc(100% - var(--footer-height)));
+ padding-block-end: var(--footer-height);
}
#app-content-vue {
@@ -85,7 +76,6 @@
align-items: center;
justify-content: center;
- height: var(--footer-height);
width: calc(100% - 2 * var(--body-container-margin));
margin-inline: var(--body-container-margin);
padding-block: var(--default-grid-baseline);