summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-09-15 10:47:21 -0700
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-09-15 10:50:13 -0700
commit6b9a07999624a0a138c6c93ea583306c95b70f45 (patch)
tree3ae1d48e0dc6eaf4453c033b04ef8a1a784c99a6
parentbc36bf5ba53b39089f4ef08034a225841ffbcc78 (diff)
downloadgitlab-ce-6b9a07999624a0a138c6c93ea583306c95b70f45.tar.gz
Increase tap target on hamburger menu
-rw-r--r--app/assets/stylesheets/new_nav.scss6
-rw-r--r--app/assets/stylesheets/new_sidebar.scss5
2 files changed, 8 insertions, 3 deletions
diff --git a/app/assets/stylesheets/new_nav.scss b/app/assets/stylesheets/new_nav.scss
index 58e205537ef..5dc0242cdea 100644
--- a/app/assets/stylesheets/new_nav.scss
+++ b/app/assets/stylesheets/new_nav.scss
@@ -388,6 +388,12 @@ header.navbar-gitlab-new {
align-self: center;
color: $gl-text-color-secondary;
+ @media (max-width: $screen-xs-max) {
+ padding-left: 17px;
+ margin-left: 33px;
+ border-left: 1px solid $gl-text-color-quaternary;
+ }
+
.avatar-tile {
margin-right: 4px;
border: 1px solid $border-color;
diff --git a/app/assets/stylesheets/new_sidebar.scss b/app/assets/stylesheets/new_sidebar.scss
index 799ef9fd8ca..d67a28731ca 100644
--- a/app/assets/stylesheets/new_sidebar.scss
+++ b/app/assets/stylesheets/new_sidebar.scss
@@ -442,7 +442,6 @@ $new-sidebar-collapsed-width: 50px;
padding: 6px 16px;
margin: 0 16px 0 -15px;
height: 46px;
- border-right: 1px solid $gl-text-color-quaternary;
i {
font-size: 20px;
@@ -451,8 +450,8 @@ $new-sidebar-collapsed-width: 50px;
@media (max-width: $screen-xs-max) {
display: inline-block;
- height: 16px;
- padding: 0 16px;
+ position: absolute;
+ top: 2px;
i {
font-size: 18px;