What problem would this solve?
Hi maintainers — thank you for Gitea.
We maintain a small fork for better mobile use, and recently landed two independent changes there for our own needs. They seem generally useful, so I wanted to ask whether you would like them upstreamed. If not, that is completely fine — please just close this issue.
1. Fix: Mobile Safari input focus zoom
Mobile Safari zooms focused form controls when the computed font-size is below 16px. We raise shared form controls to 16px under the existing mobile breakpoint, without disabling viewport zoom.
2. Enhance: make site-manifest.json installable (minimal PWA)
Gitea already serves a site manifest, but Chromium installability is weak without display / icon sizing. We add display: "standalone", theme_color, and a 192×192 PNG icon so the site can be installed without a Service Worker.
Out of scope on purpose: offline support, and we are not proposing to bring back a caching Service Worker.
We are aware that the Gitea team previously stepped away from a fuller PWA direction (including removing the Service Worker). We do not claim to know whether this minimal manifest-only change fits that earlier plan or current product direction. If you decide it does not belong upstream for that reason, we fully respect that judgment.
What do you propose?
Proposed contribution shape
If useful, I would open two separate PRs (one per change) and keep this single issue as the discussion / tracking place. Happy to split into two issues instead if you prefer.
Questions
- Would either or both of these be welcome upstream?
- Is one issue + two PRs an acceptable shape, or would you rather we do something different?
Again: these were built for our fork. We are glad to share if they fit the project; if they do not, closing this issue is perfectly OK. Thanks for your time.
What problem would this solve?
Hi maintainers — thank you for Gitea.
We maintain a small fork for better mobile use, and recently landed two independent changes there for our own needs. They seem generally useful, so I wanted to ask whether you would like them upstreamed. If not, that is completely fine — please just close this issue.
1. Fix: Mobile Safari input focus zoom
Mobile Safari zooms focused form controls when the computed font-size is below 16px. We raise shared form controls to 16px under the existing mobile breakpoint, without disabling viewport zoom.
2. Enhance: make
site-manifest.jsoninstallable (minimal PWA)Gitea already serves a site manifest, but Chromium installability is weak without
display/ icon sizing. We adddisplay: "standalone",theme_color, and a 192×192 PNG icon so the site can be installed without a Service Worker.Out of scope on purpose: offline support, and we are not proposing to bring back a caching Service Worker.
We are aware that the Gitea team previously stepped away from a fuller PWA direction (including removing the Service Worker). We do not claim to know whether this minimal manifest-only change fits that earlier plan or current product direction. If you decide it does not belong upstream for that reason, we fully respect that judgment.
What do you propose?
Proposed contribution shape
If useful, I would open two separate PRs (one per change) and keep this single issue as the discussion / tracking place. Happy to split into two issues instead if you prefer.
Questions
Again: these were built for our fork. We are glad to share if they fit the project; if they do not, closing this issue is perfectly OK. Thanks for your time.