From e682a922957ebb1d40843be4da902fe13b15adde Mon Sep 17 00:00:00 2001 From: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com> Date: Mon, 25 May 2020 10:18:48 +0200 Subject: [PATCH] Fix margin for attached top header on code review (#11571) Introduced naively by #11463 The margin was being applied too widely. --- web_src/less/_review.less | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web_src/less/_review.less b/web_src/less/_review.less index 8904e3d3e..a8df63948 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,