Something went wrong while setting issue due date.
navbarVerticalAlign and changing baseLineHeight not cascading
Closed
navbarVerticalAlign and changing baseLineHeight not cascading
Created by: intellix
I'm changing the grid widths and guttering and see that the button vertical alignment didn't cascade changes. (I'm using SASS, notice it's in the less version as well and applies the same).
$gridColumnWidth: 56px; $gridGutterWidth: 26px; $baseLineHeight: $gridGutterWidth;
.navbar .btn,
.navbar .btn-group {
@include navbarVerticalAlign(30px); // Vertically center in navbar
}
With the above, my changes to line height and guttering caused the button to not be vertically aligned. The fix I applied was this:
.navbar .btn,
.navbar .btn-group {
@include navbarVerticalAlign($baseLineHeight + 10px); // Vertically center in navbar
}
Which applies to all of the others that manually specifies navbarVerticalAlign(30px);
This worked in both the default and my changed version.
Thanks, Dom