1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-17 09:45:53 +01:00
gitea/templates/repo/diff
silverwind 9dc264a2ee
Diff file tree tweaks (#21446)
- Left-align the diff stat line again like previously.
- Default the file tree to collapsed view, which means the tree will
rendered initially collapsed and it may "pop in" via JS if enabled. I
think this is more desirable than having the empty space for the tree
"pop out" like it currently does.
- Mute the icon, removing color unless hovered.
- Increase icon size and vertically center it.

Before:
<img width="1271" alt="image"
src="https://user-images.githubusercontent.com/115237/195666451-55771595-0525-42b8-be1b-d03cc1cb2961.png">


After:
<img width="1280" alt="image"
src="https://user-images.githubusercontent.com/115237/195666385-c91fd0de-6dcc-4d9c-89ff-7581828fcf14.png">

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-10-14 17:43:25 +08:00
..
blob_excerpt.tmpl Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
box.tmpl Diff file tree tweaks (#21446) 2022-10-14 17:43:25 +08:00
comment_form_datahandler.tmpl Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
comment_form.tmpl Fix the quick-submit for pending review comment (#20992) 2022-09-02 22:59:10 +01:00
comments.tmpl Do not add links to Posters or Assignees with ID < 0 (#20577) 2022-09-03 10:33:34 +01:00
compare.tmpl Add filetree on left of diff view (#21012) 2022-09-27 13:22:19 +08:00
conversation.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
csv_diff.tmpl Fix CSV diff for added/deleted files (#21189) 2022-09-17 10:45:32 +08:00
escape_title.tmpl Switch Unicode Escaping to a VSCode-like system (#19990) 2022-08-13 19:32:34 +01:00
image_diff.tmpl Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
new_comment.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 2021-01-08 23:49:55 +02:00
new_review.tmpl Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
options_dropdown.tmpl Add filetree on left of diff view (#21012) 2022-09-27 13:22:19 +08:00
section_code.tmpl Switch Unicode Escaping to a VSCode-like system (#19990) 2022-08-13 19:32:34 +01:00
section_split.tmpl Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
section_unified.tmpl Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
stats.tmpl Replace fomantic popup module with tippy.js (#20428) 2022-08-09 14:37:34 +02:00
whitespace_dropdown.tmpl Use native inputs in whitespace dropdown (#20980) 2022-09-25 22:01:05 +08:00