1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-23 23:30:57 +02:00
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
box.tmpl Fix diff UI for unexpandable items (#22700) 2023-02-02 13:39:55 +08:00
comment_form_datahandler.tmpl
comment_form.tmpl
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
escape_title.tmpl
image_diff.tmpl
new_comment.tmpl
new_review.tmpl
options_dropdown.tmpl Add filetree on left of diff view (#21012) 2022-09-27 13:22:19 +08:00
section_code.tmpl
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
whitespace_dropdown.tmpl Use native inputs in whitespace dropdown (#20980) 2022-09-25 22:01:05 +08:00