summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-03-06 11:43:39 +0000
committerPhil Hughes <me@iamphill.com>2017-03-06 11:43:39 +0000
commit69b6a5a9e25c0035e492805305d5e4895146b693 (patch)
treede40bbed11ef0a57fb0c3f02d953f063feba1030
parent86fe7d6aeceae5f0472adea1c2829aa45757c786 (diff)
downloadgitlab-ce-second-nav-spacing-mobile.tar.gz
Changed the styling to allow bigger link targets on mobilesecond-nav-spacing-mobile
-rw-r--r--app/assets/stylesheets/framework/header.scss21
1 files changed, 18 insertions, 3 deletions
diff --git a/app/assets/stylesheets/framework/header.scss b/app/assets/stylesheets/framework/header.scss
index 99651559d0d..846b77c37e5 100644
--- a/app/assets/stylesheets/framework/header.scss
+++ b/app/assets/stylesheets/framework/header.scss
@@ -260,19 +260,34 @@ header {
font-size: 18px;
.navbar-nav {
+ display: table;
+ table-layout: fixed;
+ width: 100%;
margin: 0;
- padding-right: 10px;
text-align: right;
}
.navbar-collapse {
padding-left: 5px;
- .nav > li {
- display: inline-block;
+ .nav > li:not(.hidden-xs) {
+ display: table-cell!important;
+ width: 25%;
+
+ a {
+ margin-right: 8px;
+ }
}
}
}
+
+ .header-user-dropdown-toggle {
+ text-align: center;
+ }
+
+ .header-user-avatar {
+ float: none;
+ }
}
.header-user {