1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/templates/repo
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
..
actions Add dedicated class for empty placeholders (#27788) 2023-10-25 23:42:14 +02:00
branch Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
cite Update JS and PY dependencies (#27501) 2023-10-08 00:16:20 +00:00
code Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
diff Improve PR diff view on mobile (#27883) 2023-11-16 11:58:53 +08:00
editor Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
find Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
graph Penultimate round of db.DefaultContext refactor (#27414) 2023-10-11 04:24:07 +00:00
issue Fix rendering assignee changed comments without assignee (#27927) 2023-11-07 19:45:06 +01:00
migrate Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
projects Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
pulls Add Hide/Show all checks button to commit status check (#26284) 2023-11-02 14:49:02 +00:00
release Add word break to release title (#27942) 2023-11-07 10:53:04 +00:00
settings Use flex-container for repo and org settings (#27418) 2023-10-04 08:47:54 +02:00
tag Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
wiki Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
activity.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
blame.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
branch_dropdown.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
clone_buttons.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
clone_script.tmpl Rework button coloring, add focus and active colors (#24507) 2023-05-29 12:45:22 +00:00
commit_load_branches_and_tags.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
commit_page.tmpl Add Hide/Show all checks button to commit status check (#26284) 2023-11-02 14:49:02 +00:00
commit_status.tmpl Restore warning commit status (#27504) 2023-10-08 22:16:06 +00:00
commit_statuses.tmpl Add Hide/Show all checks button to commit status check (#26284) 2023-11-02 14:49:02 +00:00
commits_list_small.tmpl Add Hide/Show all checks button to commit status check (#26284) 2023-11-02 14:49:02 +00:00
commits_list.tmpl Add Hide/Show all checks button to commit status check (#26284) 2023-11-02 14:49:02 +00:00
commits_table.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
commits.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
create_helper.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
create.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
empty.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
file_info.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
forks.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
graph.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
header.tmpl cleanup repo details icons/labels (#27644) 2023-10-16 23:06:15 +02:00
home.tmpl Add word-break to repo description in home page (#27924) 2023-11-07 23:52:08 +00:00
icon.tmpl cleanup repo details icons/labels (#27644) 2023-10-16 23:06:15 +02:00
packages.tmpl Fix inconsistent user profile layout across tabs (#25625) 2023-07-06 18:59:24 +00:00
release_tag_header.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
search_name.tmpl Clean template/helper.go (#23922) 2023-04-07 03:31:41 -04:00
search.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
shabox_badge.tmpl cleanup locale function usage (#27227) 2023-09-24 20:31:58 +00:00
sub_menu.tmpl Enable followCursor for language stats bar (#27713) 2023-10-22 13:06:04 +00:00
unicode_escape_prompt.tmpl cleanup locale function usage (#27227) 2023-09-24 20:31:58 +00:00
upload.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
user_cards.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
view_file.tmpl Add link for repositories README file (#27684) 2023-10-18 17:59:46 -05:00
view_list.tmpl Add Hide/Show all checks button to commit status check (#26284) 2023-11-02 14:49:02 +00:00
watchers.tmpl Fix user-cards format (#24428) 2023-04-29 15:43:01 -04:00