Skip to content

Conversation

@szaimen
Copy link
Collaborator

@szaimen szaimen commented Sep 7, 2022

Close nextcloud/server#33871

Before After
image image

Signed-off-by: szaimen [email protected]

@szaimen szaimen requested review from a team, PVince81, Pytal, artonge and jancborchardt and removed request for a team September 7, 2022 08:59
@szaimen szaimen added this to the Nextcloud 25 milestone Sep 7, 2022
@szaimen szaimen marked this pull request as ready for review September 7, 2022 09:00
@szaimen
Copy link
Collaborator Author

szaimen commented Sep 7, 2022

/compile amend /

Copy link
Member

@danxuliu danxuliu left a comment

Choose a reason for hiding this comment

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

The bottom of the PDF viewer overflows the window, because the minimum height of the content is set to 100%. However, with the new style it seems that the minimum height must take into account the height of the header, so it should be calc(100% - 50px) (or something similar) instead.

Besides that please note that this may need to be adjusted again once nextcloud/server#33803 is fixed.

@szaimen
Copy link
Collaborator Author

szaimen commented Sep 8, 2022

/compile amend /

@szaimen
Copy link
Collaborator Author

szaimen commented Sep 8, 2022

The bottom of the PDF viewer overflows the window, because the minimum height of the content is set to 100%. However, with the new style it seems that the minimum height must take into account the height of the header, so it should be calc(100% - 50px) (or something similar) instead.

done

Signed-off-by: szaimen <[email protected]>
Signed-off-by: nextcloud-command <[email protected]>
@szaimen szaimen merged commit 33133f4 into master Sep 8, 2022
@szaimen szaimen deleted the enh/noid/fix-public-pages branch September 8, 2022 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pdfviewer is a bit cut-off on public view

4 participants