diff options
author | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-05-24 16:06:40 -0500 |
---|---|---|
committer | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-05-25 17:14:28 -0500 |
commit | 1a1eaf481a19cbeedaf5b6137eef73031f33e3d2 (patch) | |
tree | f740cf7b4fa1ad9f95f1a3267081cb147090d64f /app/assets | |
parent | 3c3402b0ae4c2f70cc421d97ad9605a9abeb9398 (diff) | |
download | gitlab-ce-1a1eaf481a19cbeedaf5b6137eef73031f33e3d2.tar.gz |
Refactor nav links css
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/stylesheets/framework/nav.scss | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/app/assets/stylesheets/framework/nav.scss b/app/assets/stylesheets/framework/nav.scss index 260127e3111..182dd05225f 100644 --- a/app/assets/stylesheets/framework/nav.scss +++ b/app/assets/stylesheets/framework/nav.scss @@ -274,7 +274,14 @@ .fade-right { @include fade(left); - right: 0; + right: 58px; + + @media (min-width: $screen-xs-max) { + right: 67px; + } + @media (max-width: $screen-xs-min) { + right: 0; + } } .fade-left { @@ -303,20 +310,6 @@ } } } - - .nav-control { - - .fade-right { - right: 58px; - - @media (min-width: $screen-xs-max) { - right: 67px; - } - @media (max-width: $screen-xs-min) { - right: 0; - } - } - } } .page-with-layout-nav { |