diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2017-06-07 11:18:58 -0500 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-06-07 11:18:58 -0500 |
commit | 69cf90319a6e8192ef38749019b5893e1522fd54 (patch) | |
tree | 4424c1c0a55092138b72fb472b12056cef406f0d | |
parent | 673aaa72845e80848566ee9bc9106bc39077393e (diff) | |
download | gitlab-ce-fixed-confidential-issue-bar.tar.gz |
Improve css qualityfixed-confidential-issue-bar
-rw-r--r-- | app/assets/stylesheets/pages/issuable.scss | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/app/assets/stylesheets/pages/issuable.scss b/app/assets/stylesheets/pages/issuable.scss index cd6f880e103..a321941e0c9 100644 --- a/app/assets/stylesheets/pages/issuable.scss +++ b/app/assets/stylesheets/pages/issuable.scss @@ -748,16 +748,15 @@ } &.affix { - position: sticky; - position: -webkit-sticky; - top: 60px; - z-index: 200; - -webkit-transition: all .5s ease-in-out; - transition: all .5s ease-in-out; - - @media (max-width: $screen-sm-min) { - position: static; - width: initial; + position: static; + width: initial; + + @media (min-width: $screen-sm-min) { + position: sticky; + position: -webkit-sticky; + top: 60px; + z-index: 200; + @include transition(all); } } } |