]> source.dussan.org Git - nextcloud-server.git/commitdiff
Revert "Improve layout for the public download page" 30752/head
authorMax <max@nextcloud.com>
Wed, 19 Jan 2022 08:48:39 +0000 (09:48 +0100)
committerMax <max@nextcloud.com>
Wed, 19 Jan 2022 08:53:07 +0000 (09:53 +0100)
This reverts commit 30decc3ed1f6c15a799278274cf1a75776441b56.

Signed-off-by: Max <max@nextcloud.com>
core/css/public.scss

index 31e48f3c7ccd3663a818c7a974729cc43912429f..b171dd4970d8ad6cb5e4334f37f11fa6e0322754 100644 (file)
@@ -1,25 +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 {
-                       justify-content: center;
-                       align-items: center;
-                       #app-content {
-                               min-height: inherit;
-                               padding-left: 1rem;
-                               padding-right: 1rem;
-                       }
-               }
-       }
+$footer-height: 65px;
 
+#body-public {
        .header-right {
+
                #header-primary-action a {
                        color: var(--color-primary-text);
                }
                }
        }
 
+       #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;
@@ -83,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);