diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-08-15 08:11:13 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-08-15 08:38:20 +0200 |
commit | 5e867d6415591be62e101306a42b48eeeaaa3489 (patch) | |
tree | abc53bff38159ec8f465518fae688b3fd20421bb /core/css/public.scss | |
parent | f014d31551813175e1ebf8ced61100b2db6bc02d (diff) | |
download | nextcloud-server-5e867d6415591be62e101306a42b48eeeaaa3489.tar.gz nextcloud-server-5e867d6415591be62e101306a42b48eeeaaa3489.zip |
Fix footer and public min-height
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/css/public.scss')
-rw-r--r-- | core/css/public.scss | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/core/css/public.scss b/core/css/public.scss index 0c04b07ab09..a4e7ed579b9 100644 --- a/core/css/public.scss +++ b/core/css/public.scss @@ -1,3 +1,5 @@ +$footer-height: 60px; + #body-public { .header-right { @@ -36,8 +38,9 @@ } #content { - height: initial; - min-height: calc(100vh - 160px); + // 100% - footer + min-height: calc(100% - #{$footer-height}); + } /** don't apply content header padding on the base layout */ @@ -64,4 +67,22 @@ form input[type='checkbox']+label { text-align: center; } + + /* public footer */ + footer { + position: relative; + display: flex; + align-items: center; + justify-content: center; + height: $footer-height; + p { + color: var(--color-text-lighter); + a { + color: var(--color-text-lighter); + font-weight: 600; + padding: 13px; + margin: -13px; + } + } + } } |