Merge pull request 'feat: UI: use full screen height for displaying pdf files' (#3434) from Beowulf/forgejo:full-screen-height-pdf into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3434
Reviewed-by: Otto <otto@codeberg.org>
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
This commit is contained in:
Earl Warren 2024-05-01 07:03:15 +00:00
commit 8f93ac7e7a
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
When PDFs are displayed in the repository, the [full height of the screen](https://codeberg.org/forgejo/forgejo/pulls/3434) is now used instead of a predefined fixed height

View File

@ -402,7 +402,7 @@ td .commit-summary {
.pdf-content {
width: 100%;
height: 600px;
height: 100vh;
border: none !important;
display: flex;
align-items: center;