Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core/css
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-02-08 20:09:24 +0300
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2022-02-10 19:47:39 +0300
commita87bd0ad407c515b20e9125c630dffee94edc76e (patch)
tree3883fe1da835e5cc24d9f41dbc4cf823cdd36156 /core/css
parent970b65c139a52a243d4042452a0c9e8fb501ae9c (diff)
Revert "Improve layout for the public download page"
This reverts commit 2e55ce089954bdab483cb1564a4b00b79b705346. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'core/css')
-rw-r--r--core/css/public.scss31
1 files changed, 10 insertions, 21 deletions
diff --git a/core/css/public.scss b/core/css/public.scss
index 31e48f3c7cc..b171dd4970d 100644
--- a/core/css/public.scss
+++ b/core/css/public.scss
@@ -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);
}
@@ -52,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;
@@ -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);