You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates/repo/diff
Giteabot 7c180ff8eb
Fix code view (diff) broken layout (#23096) (#23918)
Backport #23096 by @wxiaoguang

Close #22911

I think it's ready for review now, feel free to test it, welcome to help
to improve.

### Before


![image](https://user-images.githubusercontent.com/2114189/220958734-06871615-b498-4143-8449-3d443f08ffaa.png)

### After


![image](https://user-images.githubusercontent.com/2114189/220958621-0dce2728-57b8-4a1f-ac5d-48c7c2d42f5c.png)

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2 years ago
..
blob_excerpt.tmpl Fix code view (diff) broken layout (#23096) (#23918) 2 years ago
box.tmpl Fix diff detail buttons wrapping, use tippy for review box (#23271) (#23546) 2 years ago
comment_form.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 2 years ago
comment_form_datahandler.tmpl Make sure fmt catches all templates (#20979) 2 years ago
comments.tmpl Fix broken pull request files (#22962) 2 years ago
compare.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 2 years ago
conversation.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 2 years ago
csv_diff.tmpl Fix CSV diff for added/deleted files (#21189) 2 years ago
escape_title.tmpl Switch Unicode Escaping to a VSCode-like system (#19990) 3 years ago
image_diff.tmpl Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 2 years ago
new_comment.tmpl Do not reload page after adding comments in Pull Request reviews (#13877) 4 years ago
new_review.tmpl Fix diff detail buttons wrapping, use tippy for review box (#23271) (#23546) 2 years ago
options_dropdown.tmpl Add filetree on left of diff view (#21012) 2 years ago
section_code.tmpl Switch Unicode Escaping to a VSCode-like system (#19990) 3 years ago
section_split.tmpl Fix code view (diff) broken layout (#23096) (#23918) 2 years ago
section_unified.tmpl Fix code view (diff) broken layout (#23096) (#23918) 2 years ago
stats.tmpl Move helpers to be prefixed with `gt-` (#22879) 2 years ago
whitespace_dropdown.tmpl Move helpers to be prefixed with `gt-` (#22879) 2 years ago