Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
786adab1
Commit
786adab1
authored
Mar 06, 2017
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'second-nav-spacing-mobile' into 'master'
Fixed spacing in mobile secondary nav See merge request !9657
parents
27729aa3
69b6a5a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
10 deletions
+20
-10
app/assets/stylesheets/framework/header.scss
app/assets/stylesheets/framework/header.scss
+19
-9
app/views/layouts/header/_default.html.haml
app/views/layouts/header/_default.html.haml
+1
-1
No files found.
app/assets/stylesheets/framework/header.scss
View file @
786adab1
...
@@ -260,24 +260,34 @@ header {
...
@@ -260,24 +260,34 @@ header {
font-size
:
18px
;
font-size
:
18px
;
.navbar-nav
{
.navbar-nav
{
display
:
table
;
table-layout
:
fixed
;
width
:
100%
;
margin
:
0
;
margin
:
0
;
float
:
none
!
important
;
text-align
:
right
;
.visible-xs
,
.visible-sm
{
display
:
table-cell
!
important
;
}
}
}
.navbar-collapse
{
.navbar-collapse
{
padding-left
:
5px
;
padding-left
:
5px
;
.nav
>
li
{
.nav
>
li
:not
(
.hidden-xs
)
{
display
:
table-cell
;
display
:
table-cell
!
important
;
width
:
1%
;
width
:
25%
;
a
{
margin-right
:
8px
;
}
}
}
}
}
}
}
.header-user-dropdown-toggle
{
text-align
:
center
;
}
.header-user-avatar
{
float
:
none
;
}
}
}
.header-user
{
.header-user
{
...
...
app/views/layouts/header/_default.html.haml
View file @
786adab1
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
%ul
.nav.navbar-nav
%ul
.nav.navbar-nav
%li
.hidden-sm.hidden-xs
%li
.hidden-sm.hidden-xs
=
render
'layouts/search'
unless
current_controller?
(
:search
)
=
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
=
link_to
search_path
,
title:
'Search'
,
aria:
{
label:
"Search"
},
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
,
container:
'body'
}
do
=
icon
(
'search'
)
=
icon
(
'search'
)
-
if
current_user
-
if
current_user
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment