Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Knox <psimyn@gmail.com>2018-06-20 09:39:15 +0300
committerSimon Knox <psimyn@gmail.com>2018-06-20 09:39:15 +0300
commit00525de03f4035300d38accc222ced32c960db8d (patch)
treea20a6a24f90a698fb0b0249f273d5758b084baf4 /app/assets/stylesheets/pages
parentbf377043966e4a6123c672cf450e839040801ee5 (diff)
fix z-index and vertically center
Diffstat (limited to 'app/assets/stylesheets/pages')
-rw-r--r--app/assets/stylesheets/pages/notes.scss4
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;
}