BigW Consortium Gitlab

Commit 786adab1 by Annabel Dunstone Gray

Merge branch 'second-nav-spacing-mobile' into 'master'

Fixed spacing in mobile secondary nav See merge request !9657
parents 27729aa3 69b6a5a9
......@@ -260,24 +260,34 @@ header {
font-size: 18px;
.navbar-nav {
display: table;
table-layout: fixed;
width: 100%;
margin: 0;
float: none !important;
.visible-xs,
.visible-sm {
display: table-cell !important;
}
text-align: right;
}
.navbar-collapse {
padding-left: 5px;
.nav > li {
display: table-cell;
width: 1%;
.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 {
......
......@@ -19,7 +19,7 @@
%ul.nav.navbar-nav
%li.hidden-sm.hidden-xs
= render 'layouts/search' unless current_controller?(:search)
%li.visible-sm.visible-xs
%li.visible-sm-inline-block.visible-xs-inline-block
= link_to search_path, title: 'Search', aria: { label: "Search" }, data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do
= icon('search')
- if current_user
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment