mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Revert "Improve layout for the public download page"
This reverts commit 2e55ce0899.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
parent
60a7e36f9b
commit
16e9e242ed
1 changed files with 10 additions and 21 deletions
|
|
@ -1,25 +1,8 @@
|
|||
$footer-height: 65px;
|
||||
|
||||
#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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue