Closed bryanwillis closed 9 years ago
Before:
After:
I like this idea. A couple of notes,
1) To get nav.scss to work, I needed to add
@import "supporting/nav";
in css/sass/style.scss
(this file loads all the other Sass files)
2) I changed the CSS to use Bootstrap variables for the values. e.g.
margin-top: -20px;
became
margin-top: -1 * $navbar-margin-bottom;
the benefit here is if we add
$navbar-margin-bottom: 80px;
in css/sass/supporting/variables.scss
the margin on the bottom of all the navbars will increase to 80px but our two navs will still stay properly placed in relation to each other.
This are little things but I wanted to let you know about the changes I made.
Thanks for the patch, this is a definite improvement.
Merged in 8071cb1
Easier solution for fixing navigation margins and dropdown z-index