-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
fix public view #34028
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix public view #34028
Conversation
|
/compile / |
abdc077 to
a83bf64
Compare
|
/compile / |
c54f88e to
6d431c8
Compare
|
/compile amend / |
|
thanks for looking into this! |
6d431c8 to
2432df5
Compare
|
/compile amend / |
2432df5 to
ca91803
Compare
ca91803 to
a922b12
Compare
|
/compile amend / |
a922b12 to
150441c
Compare
|
|
||
| #imgframe img { | ||
| max-height: 100% !important; | ||
| max-height: calc(100vh - var(--header-height) - #{$footer-height} - #{$download-button-section-height}) !important; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh wow 🙈
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you have better ideas? Other solutions didnt work in my testing...
PVince81
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
| } | ||
|
|
||
| #imgframe video { | ||
| max-height: calc(100vh - var(--header-height) - #{$footer-height} - #{$download-button-section-height}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it still relevant?
Considering we're using the viewer now to render single files shares?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this was needed to make it work with any screen size...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SHould it not be handled widely then? Make the viewer container takign the full size?
Not just video or img tags
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't find other formats that would need fixing so only applied it to these.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Btw: public audio playback is currently broken IIRC: #34027
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm working on a separate PR for audio playback here #34051 - would style that after this is merged.
Signed-off-by: szaimen <[email protected]>
150441c to
b664644
Compare
|
/compile amend / |
Signed-off-by: nextcloud-command <[email protected]>
b664644 to
335964d
Compare
|
CI failure unrelated |
Close #33858
Close #33803
Signed-off-by: szaimen [email protected]