diff options
author | Simon Knox <psimyn@gmail.com> | 2018-06-20 16:39:15 +1000 |
---|---|---|
committer | Simon Knox <psimyn@gmail.com> | 2018-06-20 16:39:15 +1000 |
commit | 00525de03f4035300d38accc222ced32c960db8d (patch) | |
tree | a20a6a24f90a698fb0b0249f273d5758b084baf4 | |
parent | bf377043966e4a6123c672cf450e839040801ee5 (diff) | |
download | gitlab-ce-fix-diff-comment-alignment.tar.gz |
fix z-index and vertically centerfix-diff-comment-alignment
-rw-r--r-- | app/assets/stylesheets/pages/notes.scss | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/assets/stylesheets/pages/notes.scss b/app/assets/stylesheets/pages/notes.scss index e04100b5a9e..6e44fca7a1b 100644 --- a/app/assets/stylesheets/pages/notes.scss +++ b/app/assets/stylesheets/pages/notes.scss @@ -624,15 +624,17 @@ ul.notes { .line_holder .is-over:not(.no-comment-btn) { .add-diff-note { opacity: 1; + z-index: 101; } } .add-diff-note { @include btn-comment-icon; opacity: 0; - margin-top: -2px; margin-left: -55px; position: absolute; + top: 50%; + transform: translateY(-50%); z-index: 10; } |