Skip to content

Commit 9b82a30

Browse files
committed
fix footer
Signed-off-by: szaimen <szaimen@e.mail.de>
1 parent 0c6c535 commit 9b82a30

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

apps/files_sharing/css/public.scss

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@use 'variables';
22

33
$footer-height: 65px;
4+
$footer-padding-height: 16px;
45
$download-button-section-height: 200px;
56

67
#preview {
@@ -30,7 +31,7 @@ $download-button-section-height: 200px;
3031
}
3132

3233
#imgframe img {
33-
max-height: calc(100vh - var(--header-height) - #{$footer-height} - #{$download-button-section-height}) !important;
34+
max-height: calc(100vh - var(--header-height) - #{$footer-height} - #{$download-button-section-height} - #{$footer-padding-height}) !important;
3435
max-width: 100% !important;
3536
width: unset !important;
3637
}
@@ -40,7 +41,7 @@ $download-button-section-height: 200px;
4041
}
4142

4243
#imgframe video {
43-
max-height: calc(100vh - var(--header-height) - #{$footer-height} - #{$download-button-section-height});
44+
max-height: calc(100vh - var(--header-height) - #{$footer-height} - #{$download-button-section-height} - #{$footer-padding-height});
4445
}
4546

4647
#imgframe audio {
@@ -82,6 +83,11 @@ $download-button-section-height: 200px;
8283
max-height: 100%;
8384
}
8485

86+
87+
.app-files_sharing #app-content footer {
88+
position: sticky !important;
89+
}
90+
8591
/* fix multiselect bar offset on shared page */
8692
thead {
8793
left: 0 !important;

0 commit comments

Comments
 (0)