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:
commit
8f93ac7e7a
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