0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-13 16:29:10 +01:00
gitea/templates/repo
confusedsushi f6f4e1ddb9
Fix review excerpt (#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>
2022-02-01 19:08:33 +00:00
..
branch Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
diff Fix review excerpt (#18502) 2022-02-01 19:08:33 +00:00
editor Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
graph Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
issue Add config options to hide issue events (#17414) 2022-01-21 18:59:26 +01: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 Refactor webhooks i18n (#18380) 2022-01-24 19:36:54 +08: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 Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
commit_status.tmpl
commit_statuses.tmpl
commits_list_small.tmpl Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
commits_list.tmpl Fix commit's time (#18375) 2022-01-25 00:11:40 +02:00
commits_table.tmpl Cleanup and use global style on popups (#17674) 2021-11-18 11:26:50 +08:00
commits.tmpl
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 Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
home.tmpl Automatically pause queue if index service is unavailable (#15066) 2022-01-27 10:30:51 +02:00
icon.tmpl
search.tmpl Automatically pause queue if index service is unavailable (#15066) 2022-01-27 10:30:51 +02:00
shabox_badge.tmpl
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
user_cards.tmpl
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) 2022-01-25 00:11:40 +02:00
watchers.tmpl