pdf display problem #12129

Open
opened 2025-11-02 09:59:16 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @bAH7JgbXrMsXEhggm4 on GitHub (Nov 30, 2023).

Description

Because my English is not good, I use google translate to translate, which may make it difficult to understand, sorry.

Thank you for developing this good software

System: debian 11

gitea version: 1.21.0

No matter in chromium Version 119.0.6045.159 (the latest version in Debian 11) or Firefox 120.0 (the latest version so far), the PDF browsing interface is displayed very small. the browser has already been maximized, the height only takes up one-third of the monitor.

Screenshots

gitea
github

Gitea Version

1.21.0

Can you reproduce the bug on the Gitea demo site?

No

Operating System

debian 11

Browser Version

chromium 119.0.6045.159 and firefox 120.0

Originally created by @bAH7JgbXrMsXEhggm4 on GitHub (Nov 30, 2023). ### Description Because my English is not good, I use google translate to translate, which may make it difficult to understand, sorry. Thank you for developing this good software System: debian 11 gitea version: `1.21.0` No matter in chromium Version 119.0.6045.159 (the latest version in Debian 11) or Firefox 120.0 (the latest version so far), the PDF browsing interface is displayed very small. the browser has already been maximized, the height only takes up one-third of the monitor. ### Screenshots ![gitea](https://github.com/go-gitea/gitea/assets/152476894/0648b77c-5a6b-4d53-ad25-3dd2149657d4) ![github](https://github.com/go-gitea/gitea/assets/152476894/d1521c7e-46cc-4a4f-b997-b7dc4bfeabdc) ### Gitea Version 1.21.0 ### Can you reproduce the bug on the Gitea demo site? No ### Operating System debian 11 ### Browser Version chromium 119.0.6045.159 and firefox 120.0
GiteaMirror added the topic/uitype/bug labels 2025-11-02 09:59:16 -06:00
Author
Owner

@yp05327 commented on GitHub (Dec 1, 2023):

14354e4f8e/web_src/css/repo.css (L419)
It is hard coding.

@yp05327 commented on GitHub (Dec 1, 2023): https://github.com/go-gitea/gitea/blob/14354e4f8edb35b6ff46ea066098fc1d9fe93d5a/web_src/css/repo.css#L419 It is hard coding.
Author
Owner

@bAH7JgbXrMsXEhggm4 commented on GitHub (Dec 2, 2023):

Thank you for your reply. If it possible to set this attribute to "automatically adjust the size according to the size of the browser display area"? Alternatively, set an option that allows users to customize the size.

@bAH7JgbXrMsXEhggm4 commented on GitHub (Dec 2, 2023): Thank you for your reply. If it possible to set this attribute to "automatically adjust the size according to the size of the browser display area"? Alternatively, set an option that allows users to customize the size.
Author
Owner

@yp05327 commented on GitHub (Dec 4, 2023):

Not sure whether this is the best way to fix.

@yp05327 commented on GitHub (Dec 4, 2023): Not sure whether this is the best way to fix.
Author
Owner

@yp05327 commented on GitHub (Mar 11, 2024):

Any updates?

@yp05327 commented on GitHub (Mar 11, 2024): Any updates?
Author
Owner

@lunny commented on GitHub (Mar 12, 2024):

We can extend the whole width of this page? All code/file review page.

@lunny commented on GitHub (Mar 12, 2024): We can extend the whole width of this page? All code/file review page.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12129