Skip to content

Commit ea84427

Browse files
Merge pull request #30752 from nextcloud/fix/stable22/public-shares
Revert "Improve layout for the public download page"
2 parents 2f82fc2 + bdd677c commit ea84427

File tree

1 file changed

+10
-21
lines changed

1 file changed

+10
-21
lines changed

core/css/public.scss

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,8 @@
1-
#body-public {
2-
min-height: 100vh;
3-
display: flex;
4-
flex-direction: column;
5-
6-
#content {
7-
flex-grow: 2;
8-
min-height: initial;
9-
10-
/** Center the shared content inside the page */
11-
&.app-files_sharing {
12-
justify-content: center;
13-
align-items: center;
14-
#app-content {
15-
min-height: inherit;
16-
padding-left: 1rem;
17-
padding-right: 1rem;
18-
}
19-
}
20-
}
1+
$footer-height: 65px;
212

3+
#body-public {
224
.header-right {
5+
236
#header-primary-action a {
247
color: var(--color-primary-text);
258
}
@@ -52,6 +35,12 @@
5235
}
5336
}
5437

38+
#content {
39+
// 100% - footer
40+
min-height: calc(100% - #{$footer-height});
41+
42+
}
43+
5544
/** don't apply content header padding on the base layout */
5645
&.layout-base #content {
5746
padding-top: 0;
@@ -83,8 +72,8 @@
8372
display: flex;
8473
align-items: center;
8574
justify-content: center;
75+
height: $footer-height;
8676
flex-direction: column;
87-
padding: 0.5rem;
8877
p {
8978
text-align: center;
9079
color: var(--color-text-lighter);

0 commit comments

Comments
 (0)