diff options
author | dimitrieh <dimitriehoekstra@gmail.com> | 2017-01-15 10:41:41 -0500 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-01-16 10:22:47 -0500 |
commit | 2f5593d754afc0d4c8bf4c82c42e9acaf2e3df6d (patch) | |
tree | 45502e4dbb94665a5c0ba557857432399905e139 | |
parent | bd1e0c7e7bac7d32cd8e97f79abd1c9eb32a2e71 (diff) | |
download | gitlab-ce-2f5593d754afc0d4c8bf4c82c42e9acaf2e3df6d.tar.gz |
fixed nav-links margin with recommended fix
Remove margin on mobile links
-rw-r--r-- | app/assets/stylesheets/pages/profile.scss | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/app/assets/stylesheets/pages/profile.scss b/app/assets/stylesheets/pages/profile.scss index a677e34a615..722b3006f7c 100644 --- a/app/assets/stylesheets/pages/profile.scss +++ b/app/assets/stylesheets/pages/profile.scss @@ -216,16 +216,12 @@ } } -.user-profile { +.user-profile { .cover-controls a { margin-left: 5px; } - .nav-links li { - margin-right: -4px; - } - .profile-header { margin: 0 auto; @@ -235,8 +231,11 @@ } } - @media (max-width: $screen-xs-max) { + .user-profile-nav { + font-size: 0; + } + @media (max-width: $screen-xs-max) { .cover-block { padding-top: 20px; } @@ -258,8 +257,10 @@ } } - .nav-links li { - margin-right: -7px; + .user-profile-nav { + a { + margin-right: 0; + } } } } |