gitea/templates/repo
zeripath 72fa108cbc
Fix review excerpt (#18502) (#18530)
Backport #18502

Currently the "File Changed" tab of a PR is somehow broken. This is also true for the current release 1.16.0.

When you are on the "File Changed" tab, and want to look at code excerpt before or after the code changes, the layout breaks. You can test this on try.gitea.io here: https://try.gitea.io/testnotexisting/magic_enum/pulls/2/files

The problem occurs for the unified view and for the split view.

Kind of the same problem was there for commenting a line of code, this was fixed in #18321 and #18403.

For consistency, I changed the solution of #18321, I removed the ``colspan`` and instead added a ``<td>``. The goal was to have code similarly with the split view.

Also the separator line in the split view was in the wrong column, this was fixed too.* more consistent unified review comment

Fix #18516

Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: confusedsushi <confused.sushi@googlemail.com>
2022-02-02 08:38:28 +00:00
..
branch Handle missing default branch better in owner/repo/branches page (#18290) 2022-01-16 22:59:16 +08:00
diff Fix review excerpt (#18502) (#18530) 2022-02-02 08:38:28 +00:00
editor Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
graph Fix overflow in commit graph (#17947) 2021-12-11 16:12:18 +02:00
issue Fix PR comments UI (#18323) 2022-01-19 01:28:38 +08:00
migrate Use disable_form_autofill on Codebase and Gitbucket (#17936) 2021-12-08 22:33:14 +00:00
projects Cleanup and use global style on popups (#17674) 2021-11-18 11:26:50 +08:00
pulls Improvements to content history (#17746) 2021-11-22 20:20:16 +08:00
release Fix release link broken (#18252) 2022-01-13 15:14:53 +02:00
settings Fix collobration template (#18232) 2022-01-11 12:33:47 +00:00
wiki Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
activity.tmpl Unify and simplify TrN for i18n (#18141) 2022-01-02 04:33:57 +01:00
blame.tmpl Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
branch_dropdown.tmpl Fixed commit count. (#17698) 2021-11-17 23:50:17 +00:00
clone_buttons.tmpl Add new JS linter rules (#17699) 2021-11-22 16:19:01 +08:00
commit_page.tmpl Add support for ssh commit signing (#17743) 2021-12-19 00:37:18 -05:00
commit_status.tmpl Show dropdown with all statuses for commit (#13977) 2020-12-20 11:13:12 +08:00
commit_statuses.tmpl Show dropdown with all statuses for commit (#13977) 2020-12-20 11:13:12 +08:00
commits.tmpl Add compare tag dropdown to releases page (#15695) 2021-05-03 13:27:48 -04:00
commits_list.tmpl Fix commit's time (#18375) (#18392) 2022-01-25 05:48:56 +00:00
commits_list_small.tmpl Improve ellipsis buttons (#17773) 2021-11-22 21:44:38 -05:00
commits_table.tmpl Cleanup and use global style on popups (#17674) 2021-11-18 11:26:50 +08:00
create.tmpl Unify and simplify TrN for i18n (#18141) 2022-01-02 04:33:57 +01:00
empty.tmpl More pleasantly handle broken or missing git repositories (#17747) 2021-11-22 22:32:16 +00:00
forks.tmpl Add pagination to fork list (#17639) 2021-11-18 22:45:56 +08:00
graph.tmpl Re-separate the color translation strings (#17390) 2021-10-21 23:51:03 +02:00
header.tmpl Improve behavior of "Fork" button (#17288) 2021-12-13 09:59:09 +08:00
home.tmpl Switch archive URL code back to href attributes (#17796) 2021-11-29 21:50:43 +08:00
icon.tmpl Do not display org avatar near icon for internal repos (#13957) 2020-12-13 16:51:15 -05:00
search.tmpl Multiple Escaping Improvements (#17551) 2021-11-16 18:18:25 +00:00
shabox_badge.tmpl Fix avatar template error (#13833) 2020-12-03 23:12:59 +00:00
sub_menu.tmpl Unify and simplify TrN for i18n (#18141) 2022-01-02 04:33:57 +01:00
unicode_escape_prompt.tmpl Left-Align text in Unicode warning boxes (#18331) 2022-01-19 19:25:08 +00:00
upload.tmpl Add attachments for PR reviews (#16075) 2021-06-14 21:12:33 -04:00
user_cards.tmpl Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
view_file.tmpl Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
view_list.tmpl Fix commit's time (#18375) (#18392) 2022-01-25 05:48:56 +00:00
watchers.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00