UI: use full screen height for displaying pdf files
This commit is contained in:
parent
d6c36ec406
commit
9035b400a6
2 changed files with 2 additions and 1 deletions
1
release-notes/8.0.0/feat/3434.md
Normal file
1
release-notes/8.0.0/feat/3434.md
Normal 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
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue