Fix header for mobiles
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
9b77a4baf9
commit
ebaa1e5a89
2 changed files with 13 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue