summaryrefslogtreecommitdiffstats
path: root/web_src/less
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2022-02-02 08:38:28 +0000
committerGitHub <noreply@github.com>2022-02-02 08:38:28 +0000
commit72fa108cbc0a3a7582ca7aaefc46787ec096640a (patch)
tree168e1693552d989fb774c7439e69ea2ebd6b04e8 /web_src/less
parentdb134c5d71aada5d198d3029833536b2f96ead16 (diff)
downloadgitea-72fa108cbc0a3a7582ca7aaefc46787ec096640a.tar.gz
gitea-72fa108cbc0a3a7582ca7aaefc46787ec096640a.zip
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>
Diffstat (limited to 'web_src/less')
-rw-r--r--web_src/less/_repository.less2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index 75ccc8d25f..18c463bf18 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -3186,7 +3186,7 @@ td.blob-excerpt {
background: var(--color-diff-inactive);
}
-.code-diff-split tbody tr td:nth-child(4) {
+.code-diff-split tbody tr td:nth-child(5) {
border-left: 1px solid var(--color-secondary);
}