diff --git a/rhodecode/public/css/code-block.less b/rhodecode/public/css/code-block.less --- a/rhodecode/public/css/code-block.less +++ b/rhodecode/public/css/code-block.less @@ -928,7 +928,7 @@ input.filediff-collapse-state { margin: @comment-padding; } /* hide add comment button when form is open */ - .comment-inline-form-open + .cb-comment-add-button { + .comment-inline-form-open ~ .cb-comment-add-button { display: none; } .comment-inline-form-open {