summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>2020-05-25 10:18:48 +0200
committerGitHub <noreply@github.com>2020-05-25 09:18:48 +0100
commite682a922957ebb1d40843be4da902fe13b15adde (patch)
tree9b2e0ae9a323087a6d38af38de30b01ebd11404b
parent02a52d683b32e2670f746d898bd0041954390e7b (diff)
downloadgitea-e682a922957ebb1d40843be4da902fe13b15adde.tar.gz
gitea-e682a922957ebb1d40843be4da902fe13b15adde.zip
Fix margin for attached top header on code review (#11571)
Introduced naively by #11463 The margin was being applied too widely.
-rw-r--r--web_src/less/_review.less5
1 files changed, 4 insertions, 1 deletions
diff --git a/web_src/less/_review.less b/web_src/less/_review.less
index 8904e3d3e7..a8df639486 100644
--- a/web_src/less/_review.less
+++ b/web_src/less/_review.less
@@ -19,8 +19,11 @@
.add-comment-left.add-comment-right .ui.attached.header {
border: 1px solid #d4d4d5;
- margin-bottom: .5em;
margin-top: .5em;
+
+ &:not(.top) {
+ margin-bottom: .5em;
+ }
}
.focus-lines-new .ui.button.add-code-comment.add-code-comment-right,