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
wxiaoguang d149093ce3
Fix code view (diff) broken layout (#23096)
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)
2 years ago
..
actions Use data-tooltip-content for tippy tooltip (#23649) 2 years ago
branch Use data-tooltip-content for tippy tooltip (#23649) 2 years ago
cite Use data-tooltip-content for tippy tooltip (#23649) 2 years ago
diff Fix code view (diff) broken layout (#23096) 2 years ago
editor Allow new file and edit file preview if it has editable extension (#23624) 2 years ago
find
graph Fix SVG close tag, improve commit graph page UI alignment (#23751) 2 years ago
issue Introduce GiteaLocaleNumber custom element to handle number localization on pages. (#23861) 2 years ago
migrate Remove incorrect HTML self close tag (#23748) 2 years ago
projects Introduce GiteaLocaleNumber custom element to handle number localization on pages. (#23861) 2 years ago
pulls Remove incorrect HTML self close tag (#23748) 2 years ago
release Disable editing tags (#23883) 2 years ago
settings Fix code view (diff) broken layout (#23096) 2 years ago
wiki Introduce GitHub markdown editor, keep EasyMDE as fallback (#23876) 2 years ago
activity.tmpl Add context when rendering labels or emojis (#23281) 2 years ago
blame.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2 years ago
branch_dropdown.tmpl Refactor branch/tag selector to Vue SFC (#23421) 2 years ago
clone_buttons.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2 years ago
clone_script.tmpl
commit_page.tmpl Remove incorrect HTML self close tag (#23748) 2 years ago
commit_status.tmpl Use different SVG for pending and running actions (#23836) 2 years ago
commit_statuses.tmpl
commits.tmpl
commits_list.tmpl Add context when rendering labels or emojis (#23281) 2 years ago
commits_list_small.tmpl Refactor repo commit list (#23690) 2 years ago
commits_table.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2 years ago
create.tmpl Remove incorrect HTML self close tag (#23748) 2 years ago
create_helper.tmpl
empty.tmpl
file_info.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2 years ago
forks.tmpl Remove fomantic ".link" selector and styles (#23888) 2 years ago
graph.tmpl
header.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2 years ago
home.tmpl Fine tune more downdrop settings, use SVG for labels, improve Repo Topic Edit form (#23626) 2 years ago
icon.tmpl
packages.tmpl
search.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2 years ago
search_name.tmpl Fix long project name display in issue list and in related dropdown (#23653) 2 years ago
shabox_badge.tmpl
sub_menu.tmpl Remove fomantic ".link" selector and styles (#23888) 2 years ago
unicode_escape_prompt.tmpl Convert `<div class="button">` to `<button class="button">` (#23337) 2 years ago
upload.tmpl
user_cards.tmpl
view_file.tmpl Use data-tooltip-content for tippy tooltip (#23649) 2 years ago
view_list.tmpl
watchers.tmpl