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
code
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
standalone
themes Fix a navbar UI bug in Safari (#18092) 2021-12-24 23:42:01 +02:00
_admin.less
_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
_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
_tribute.less
_user.less
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
variables.less