gitea/web_src/less
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
..
chroma Improve Light Chroma style (#15699) 2021-05-02 22:43:08 -04:00
code Fix and restyle menu on code line (#15913) 2021-05-18 23:16:02 -04:00
codemirror Extract CodeMirror styles (#17960) 2021-12-20 20:07:49 +00:00
features Make the height of the editor in Review Box smaller (4 lines as GitHub) (#18319) 2022-01-19 00:57:57 +08:00
markup Add copy button to markdown code blocks (#17638) 2021-11-16 16:16:05 +08:00
shared Issue list alignment tweaks (#15483) 2021-05-05 12:57:59 -04:00
standalone Fix tooltips and issue dependency styles (#13458) 2020-11-10 20:28:07 +02:00
themes Fix a navbar UI bug in Safari (#18092) 2021-12-24 23:42:01 +02:00
_admin.less Fix webhook list styling (#14001) 2020-12-16 19:22:21 +01:00
_base.less Prevent underline hover on cards (#18259) 2022-01-13 14:33:04 +00:00
_dashboard.less Fix overflow label in mobile view (#17020) 2021-09-12 13:40:20 +02:00
_editor.less Extract CodeMirror styles (#17960) 2021-12-20 20:07:49 +00:00
_explore.less Ensure popup text is aligned left (#17327) 2021-10-17 11:14:32 +01:00
_font_i18n.less Prefer "Hiragino Kaku Gothic ProN" in system-ui-ja (#17954) 2021-12-13 00:04:18 +01:00
_form.less Support webauthn (#17957) 2022-01-14 16:03:31 +01:00
_home.less fix media query edge case (#13546) 2020-11-17 00:33:19 -05:00
_install.less Refactor install page (db type) (#17919) 2021-12-07 13:44:08 +08:00
_organization.less Create menus for organization pages (#17802) 2021-11-25 00:12:54 +08:00
_repository.less Fix review excerpt (#18502) (#18530) 2022-02-02 08:38:28 +00:00
_review.less Add warning for BIDI characters in page renders and in diffs (#17562) 2022-01-07 02:18:52 +01:00
_svg.less Reindent Less to 2-space (#12602) 2020-08-25 22:48:53 +03:00
_tribute.less Update JS dependencies (#15033) 2021-03-22 05:04:19 +01:00
_user.less Remove remaining fontawesome usage in templates (#15952) 2021-05-22 23:29:46 +02:00
animations.less Add copy button to markdown code blocks (#17638) 2021-11-16 16:16:05 +08:00
helpers.less Change <a> elements to underline on hover (#17898) 2021-12-18 05:29:00 +00:00
index.less Extract CodeMirror styles (#17960) 2021-12-20 20:07:49 +00:00
misc.css Raw file view tweaks (#15520) 2021-04-22 23:43:44 +02:00
variables.less fix media query edge case (#13546) 2020-11-17 00:33:19 -05:00