forked from gitea/gitea
1
0
Fork 0
gitea/templates
sebastian-sauer 49dddd87b1
Improve PR diff view on mobile (#27883)
1. Show diff stats only on large screens

these are already shown in tabs, so no need for this duplicate
information on small screens


![image](https://github.com/go-gitea/gitea/assets/1135157/1287839d-7490-42eb-a17e-d526dc0bfd9e)

![image](https://github.com/go-gitea/gitea/assets/1135157/e9dcd89d-ed4d-4945-a7aa-4e6fc6d9c3a2)


2. Hide viewed files information on small screens

Github does the same and this gives us more free space on small screens


![image](https://github.com/go-gitea/gitea/assets/1135157/e90b042f-fffb-4f79-a5ae-cd480c9d8334)

![image](https://github.com/go-gitea/gitea/assets/1135157/d2480ffe-58f2-4694-8ae1-a2ab0aae14d4)


3. Review bar now doesn't wrap so we don't need the 77px even on very
small screens

(the sticky headers are still working)


![image](https://github.com/go-gitea/gitea/assets/1135157/42b19b2b-73ef-4b88-8680-c555879b363b)
2023-11-16 11:58:53 +08:00
..
admin Add word break to the repo list in admin settings page (#28034) 2023-11-14 04:58:01 +00:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 2023-10-06 09:46:36 +02:00
code Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Improve dropdown button alignment and fix hover bug (#27632) 2023-10-16 07:26:08 +00:00
explore Improve profile for Organizations (#27982) 2023-11-13 15:33:22 +01:00
mail Update team invitation email link (#26550) 2023-08-31 16:26:13 +00:00
org Add Profile Readme for Organisations (#27955) 2023-11-09 14:05:52 +00:00
package Package repository/documentation link unification (#27804) 2023-10-27 00:16:12 +00:00
projects More `db.DefaultContext` refactor (#27265) 2023-09-29 12:12:54 +00:00
repo Improve PR diff view on mobile (#27883) 2023-11-16 11:58:53 +08:00
shared Add `Hide/Show all checks` button to commit status check (#26284) 2023-11-02 14:49:02 +00:00
status Clean up template locale usage (#27856) 2023-10-31 22:11:48 +08:00
swagger Fix package webhook (#27839) 2023-10-31 04:43:38 +00:00
user Improve profile for Organizations (#27982) 2023-11-13 15:33:22 +01:00
webhook Extract common code to new template (#26933) 2023-09-06 10:11:06 +00:00
home.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
install.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
post-install.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 2023-09-25 08:56:50 +00:00