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
Tatuya Kamada
gitlab-ce
Commits
ebaa1e5a
Commit
ebaa1e5a
authored
Jun 08, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix header for mobiles
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
9b77a4ba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
app/assets/stylesheets/generic/header.scss
app/assets/stylesheets/generic/header.scss
+11
-3
app/views/layouts/header/_default.html.haml
app/views/layouts/header/_default.html.haml
+2
-2
No files found.
app/assets/stylesheets/generic/header.scss
View file @
ebaa1e5a
...
...
@@ -202,9 +202,17 @@ header {
}
}
li
{
display
:
table-cell
;
width
:
1%
;
.navbar-collapse
{
padding-left
:
5px
;
li
{
display
:
table-cell
;
width
:
1%
;
a
{
margin-left
:
8px
!
important
;
}
}
}
}
}
app/views/layouts/header/_default.html.haml
View file @
ebaa1e5a
...
...
@@ -19,7 +19,7 @@
%li
.visible-sm.visible-xs
=
link_to
search_path
,
title:
'Search'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
}
do
=
icon
(
'search'
)
%li
%li
.hidden-xs
=
link_to
help_path
,
title:
'Help'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
}
do
=
icon
(
'question-circle fw'
)
%li
...
...
@@ -33,7 +33,7 @@
=
link_to
admin_root_path
,
title:
'Admin area'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
}
do
=
icon
(
'wrench fw'
)
-
if
current_user
.
can_create_project?
%li
%li
.hidden-xs
=
link_to
new_project_path
,
title:
'New project'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
}
do
=
icon
(
'plus fw'
)
%li
...
...
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