Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions apps/files_sharing/css/public.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/files_sharing/css/public.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions apps/files_sharing/css/public.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@use 'variables';

$footer-height: 65px;
$footer-padding-height: 16px;
$download-button-section-height: 200px;

#preview {
Expand Down Expand Up @@ -30,7 +31,7 @@ $download-button-section-height: 200px;
}

#imgframe img {
max-height: calc(100vh - var(--header-height) - #{$footer-height} - #{$download-button-section-height}) !important;
max-height: calc(100vh - var(--header-height) - #{$footer-height} - #{$download-button-section-height} - #{$footer-padding-height}) !important;
max-width: 100% !important;
width: unset !important;
}
Expand All @@ -40,7 +41,7 @@ $download-button-section-height: 200px;
}

#imgframe video {
max-height: calc(100vh - var(--header-height) - #{$footer-height} - #{$download-button-section-height});
max-height: calc(100vh - var(--header-height) - #{$footer-height} - #{$download-button-section-height} - #{$footer-padding-height});
}

#imgframe audio {
Expand Down Expand Up @@ -82,6 +83,11 @@ $download-button-section-height: 200px;
max-height: 100%;
}


.app-files_sharing #app-content footer {
position: sticky !important;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you think this will work or will we need to make an exceptioni here for txt or md files?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

at least it works for other file types in my testing...

}

/* fix multiselect bar offset on shared page */
thead {
left: 0 !important;
Expand Down
8 changes: 6 additions & 2 deletions apps/files_sharing/css/publicView.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/files_sharing/css/publicView.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/css/public.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/css/public.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ $footer-height: 65px;

/* public footer */
footer {
position: sticky !important;
position: fixed;
display: flex;
align-items: center;
justify-content: center;
Expand Down
2 changes: 1 addition & 1 deletion core/css/server.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.