summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNur Rony <pro.nmrony@gmail.com>2016-11-23 21:39:38 +0600
committerNur Rony <pro.nmrony@gmail.com>2016-11-23 21:39:38 +0600
commit8badb65d0190d30f4e0d4419f642b32aa4aa4343 (patch)
tree0998c98ac384385cead04e7bf05913b75d5395db
parentd7eeb6df51ffe2ad864ef49d0e465b88ab158520 (diff)
downloadgitlab-ce-8badb65d0190d30f4e0d4419f642b32aa4aa4343.tar.gz
fixes non-retina shadow and browser zoom issue
-rw-r--r--app/assets/stylesheets/pages/notes.scss8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/assets/stylesheets/pages/notes.scss b/app/assets/stylesheets/pages/notes.scss
index 54c7caed8ed..e66c1f8d072 100644
--- a/app/assets/stylesheets/pages/notes.scss
+++ b/app/assets/stylesheets/pages/notes.scss
@@ -75,6 +75,8 @@ ul.notes {
display: none;
padding: 10px 0 0;
cursor: pointer;
+ position: relative;
+ z-index: 2;
&:hover {
color: $gl-link-color;
@@ -118,11 +120,11 @@ ul.notes {
&::after {
content: '';
width: 100%;
- height: 20px;
+ height: 67px;
position: absolute;
left: 0;
- bottom: 50px;
- background: linear-gradient(rgba($gray-light, .3) 0, $white-light);
+ bottom: 0;
+ background: linear-gradient(rgba($gray-light, 0.1) -100px, $white-light 100%);
}
&.hide-shade {