Commit f93b0f3e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Layout navigation should respect layout width settings

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 52268d1d
...@@ -185,11 +185,3 @@ ...@@ -185,11 +185,3 @@
} }
} }
} }
.layout-nav {
margin-bottom: 5px;
.nav-links {
padding: 0 $gl-padding;
}
}
...@@ -27,7 +27,8 @@ ...@@ -27,7 +27,8 @@
= yield :flash_message = yield :flash_message
- if defined?(nav) && nav - if defined?(nav) && nav
.layout-nav .layout-nav
= render "layouts/nav/#{nav}" %div{ class: container_class }
= render "layouts/nav/#{nav}"
%div{ class: (container_class unless @no_container) } %div{ class: (container_class unless @no_container) }
.content .content
.clearfix .clearfix
......
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