forked from gitea/gitea
1
0
Fork 0
gitea/templates/repo/diff
wxiaoguang c46f53a627
Fix diff UI for unexpandable items (#22700)
Follows #21094

Before:

There are 2 problems:

1. Sometimes, the header starts with a number, sometimes, it starts with
an icon button. It makes the UI look like misaligned.
2. The second item's bottom border is too thick (actually, that's an
empty element with border, which should be hidden as well)
3. (An old problem) the number is not mono-font


![image](https://user-images.githubusercontent.com/2114189/215935944-003fe2d3-69bf-413c-bbae-0a4668a508c3.png)


After:

Fix above problems.


![image](https://user-images.githubusercontent.com/2114189/215944811-b867a20c-110c-47a2-aa52-572a8162a44d.png)

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
2023-02-02 13:39:55 +08:00
..
blob_excerpt.tmpl Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
box.tmpl Fix diff UI for unexpandable items (#22700) 2023-02-02 13:39:55 +08:00
comment_form.tmpl Fix the quick-submit for pending review comment (#20992) 2022-09-02 22:59:10 +01:00
comment_form_datahandler.tmpl Make sure fmt catches all templates (#20979) 2022-08-31 23:58:54 +08:00
comments.tmpl Change ID pattern of raw content container for issue (#21966) 2022-12-10 00:25:32 +08:00
compare.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
conversation.tmpl Improve code comment review on mobile (#21461) 2022-10-25 19:11:49 +08: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 Improve code comment review on mobile (#21461) 2022-10-25 19:11:49 +08:00
section_unified.tmpl Improve code comment review on mobile (#21461) 2022-10-25 19:11:49 +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