Layout navigation should respect layout width settings

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2016-04-20 18:30:53 +02:00
parent 52268d1d9a
commit f93b0f3ea2
No known key found for this signature in database
GPG key ID: 627C5F589F467F17
2 changed files with 2 additions and 9 deletions

View file

@ -185,11 +185,3 @@
}
}
}
.layout-nav {
margin-bottom: 5px;
.nav-links {
padding: 0 $gl-padding;
}
}

View file

@ -27,7 +27,8 @@
= yield :flash_message
- if defined?(nav) && nav
.layout-nav
= render "layouts/nav/#{nav}"
%div{ class: container_class }
= render "layouts/nav/#{nav}"
%div{ class: (container_class unless @no_container) }
.content
.clearfix