diff options
author | Christopher Ng <chrng8@gmail.com> | 2024-09-05 16:19:22 -0700 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2024-09-05 16:19:22 -0700 |
commit | 65ced2dd40412047a304de8d311e644ad91f5557 (patch) | |
tree | c2476008106fb3115bc05f386c9946332d0517a4 /core/css/public.scss | |
parent | 9aafc0f989ea78e3536299da96861ea8a6c13f43 (diff) | |
download | nextcloud-server-65ced2dd40412047a304de8d311e644ad91f5557.tar.gz nextcloud-server-65ced2dd40412047a304de8d311e644ad91f5557.zip |
fix: Fix inaccessible content on public pages due to overlapping footer
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'core/css/public.scss')
-rw-r--r-- | core/css/public.scss | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/core/css/public.scss b/core/css/public.scss index 79f406b44d5..80743246876 100644 --- a/core/css/public.scss +++ b/core/css/public.scss @@ -3,19 +3,9 @@ * SPDX-License-Identifier: AGPL-3.0-or-later */ #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-end { - #header-primary-action a { color: var(--color-primary-element-text); } @@ -51,6 +41,7 @@ #content { min-height: var(--body-height, calc(100% - var(--footer-height))); + padding-block-end: var(--footer-height); } #app-content-vue { @@ -89,7 +80,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); |