1
0
Fork 0

UI: use full screen height for displaying pdf files

This commit is contained in:
Beowulf 2024-04-25 00:19:28 +02:00
parent d6c36ec406
commit 9035b400a6
No known key found for this signature in database
GPG key ID: 44225F5F2792841D
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 { .pdf-content {
width: 100%; width: 100%;
height: 600px; height: 100vh;
border: none !important; border: none !important;
display: flex; display: flex;
align-items: center; align-items: center;