Commit 5f797be0 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Mobile UI fixes for sidebar nav

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 5f63c005
...@@ -52,8 +52,6 @@ header { ...@@ -52,8 +52,6 @@ header {
border-width: 0; border-width: 0;
font-size: 18px; font-size: 18px;
.app_logo { margin-left: -15px; }
.title { .title {
@include str-truncated(70%); @include str-truncated(70%);
} }
......
...@@ -47,11 +47,6 @@ body.project { ...@@ -47,11 +47,6 @@ body.project {
.sidebar-wrapper { .sidebar-wrapper {
z-index: 1000; z-index: 1000;
position: absolute;
left: 250px;
width: 0;
height: 100%;
margin-left: -250px;
overflow-y: auto; overflow-y: auto;
background: #F5F5F5; background: #F5F5F5;
} }
...@@ -63,12 +58,12 @@ body.project { ...@@ -63,12 +58,12 @@ body.project {
} }
.nav-sidebar { .nav-sidebar {
position: fixed;
top: 45px;
width: 250px;
margin: 0; margin: 0;
list-style: none; list-style: none;
margin-top: 20px;
&.navbar-collapse {
padding: 0px !important;
}
} }
.nav-sidebar li a .count { .nav-sidebar li a .count {
...@@ -143,6 +138,17 @@ body.project { ...@@ -143,6 +138,17 @@ body.project {
.sidebar-wrapper { .sidebar-wrapper {
width: 250px; width: 250px;
position: absolute;
left: 250px;
height: 100%;
margin-left: -250px;
.nav-sidebar {
margin-top: 20px;
position: fixed;
top: 45px;
width: 250px;
}
} }
.content-wrapper { .content-wrapper {
...@@ -154,4 +160,3 @@ body.project { ...@@ -154,4 +160,3 @@ body.project {
.profiler-results { .profiler-results {
display: none; display: none;
} }
%ul.project-navigation.nav.nav-sidebar %ul.project-navigation.nav.nav-sidebar.navbar-collapse.collapse
= nav_link(path: 'projects#show', html_options: {class: "home"}) do = nav_link(path: 'projects#show', html_options: {class: "home"}) do
= link_to project_path(@project), title: 'Project', class: 'shortcuts-project' do = link_to project_path(@project), title: 'Project', class: 'shortcuts-project' do
Project Project
......
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