Layout navigation should respect layout width settings
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
52268d1d9a
commit
f93b0f3ea2
2 changed files with 2 additions and 9 deletions
|
@ -185,11 +185,3 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.layout-nav {
|
||||
margin-bottom: 5px;
|
||||
|
||||
.nav-links {
|
||||
padding: 0 $gl-padding;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue