# HG changeset patch # User Marcin Lulek # Date 2016-11-29 12:30:17 # Node ID 718c385a0514ed481ef4fc5816e591729f0a5a39 # Parent c044d81493255718f9a1b2f1f6077d32622935ce styles: replace adjacent selector with sibling selctor 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 {