gitea/templates
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
..
admin Fix broken oauth2 authentication source edit page (#18412) (#18419) 2022-01-26 23:48:33 +00:00
base Support webauthn (#17957) 2022-01-14 16:03:31 +01:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Add archived label for code search results in archived repo's (#17817) 2021-11-26 16:49:31 +08:00
mail Unify and simplify TrN for i18n (#18141) 2022-01-02 04:33:57 +01:00
org Use "read" value for General Access (#18496) (#18500) 2022-02-01 20:24:27 +00:00
repo Fix review excerpt (#18502) (#18530) 2022-02-02 08:38:28 +00:00
shared Unify and simplify TrN for i18n (#18141) 2022-01-02 04:33:57 +01:00
status Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
swagger Add MirrorUpdated field to Repository API type (#18267) 2022-01-18 13:18:30 +00:00
user Fix incorrect OAuth message (#18332) 2022-01-19 19:05:06 +00:00
home.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00
install.tmpl Refactor install page (db type) (#17919) 2021-12-07 13:44:08 +08:00
post-install.tmpl Rename StaticUrlPrefix to AssetUrlPrefix (#15779) 2021-05-08 16:27:25 +02:00