summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSimon L <szaimen@e.mail.de>2022-02-10 17:37:29 +0100
committerGitHub <noreply@github.com>2022-02-10 17:37:29 +0100
commitb881940bf31a45de81ade6cbe3f2e870846866ad (patch)
treeb172d88c9b39c11788486b544c0f30bb4e8104e8 /core
parentc605ef1f432dcd48ba4b3b8cc82551c234dc4f64 (diff)
parentf0424378f68ee222bc9914af6e391624d9f3c711 (diff)
downloadnextcloud-server-b881940bf31a45de81ade6cbe3f2e870846866ad.tar.gz
nextcloud-server-b881940bf31a45de81ade6cbe3f2e870846866ad.zip
Merge pull request #31077 from nextcloud/revert/public-page-changes
Revert the 'broken' public page changes
Diffstat (limited to 'core')
-rw-r--r--core/css/public.scss40
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);