# HG changeset patch # User lisaq # Date 2016-09-12 09:56:55 # Node ID ef9f0b059027cf326c5ec32673435ddddef06f46 # Parent 71ba091b355d92368ebcc033518cb215a8e876b1 styling: fixing alignment of comment toggle button 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 @@ -255,7 +255,7 @@ table.code-difftable { /** LINE NUMBERS **/ .lineno { - padding-left: 2px; + padding-left: 2px !important; padding-right: 2px; text-align: right; width: 32px; diff --git a/rhodecode/public/css/diff.less b/rhodecode/public/css/diff.less --- a/rhodecode/public/css/diff.less +++ b/rhodecode/public/css/diff.less @@ -32,10 +32,14 @@ div.diffblock.margined.comm tr { } .comment-toggle { - width: 20px; + position: relative; color: @rcblue; - .icon-comment{ - display: inline-block; + + .icon-comment { + position: absolute; + top: 2px; + left: 0; + z-index: 100; visibility: hidden; }