diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/css/public.scss | 40 |
1 files changed, 10 insertions, 30 deletions
diff --git a/core/css/public.scss b/core/css/public.scss index e0ca670fcdb..b171dd4970d 100644 --- a/core/css/public.scss +++ b/core/css/public.scss @@ -1,34 +1,8 @@ -#body-public { - min-height: 100vh; - display: flex; - flex-direction: column; - - #content { - flex-grow: 2; - min-height: initial; - - /** Center the shared content inside the page */ - &.app-files_sharing { - #app-content { - min-height: 100%; - display: flex; - } - - #files-public-content { - flex-grow: 2; - display: grid; - } - - #preview { - justify-self: center; - align-self: center; - padding-left: 1rem; - padding-right: 1rem; - } - } - } +$footer-height: 65px; +#body-public { .header-right { + #header-primary-action a { color: var(--color-primary-text); } @@ -61,6 +35,12 @@ } } + #content { + // 100% - footer + min-height: calc(100% - #{$footer-height}); + + } + /** don't apply content header padding on the base layout */ &.layout-base #content { padding-top: 0; @@ -92,8 +72,8 @@ display: flex; align-items: center; justify-content: center; + height: $footer-height; flex-direction: column; - padding: 0.5rem; p { text-align: center; color: var(--color-text-lighter); |