mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-12 00:24:03 +02:00
Correct comment which is showing a wrong mixin call example (mixins.less)
I was copy-pasting the example and it wasn't working. Then I found that the example in the comment was a typo. Thanks
This commit is contained in:
@@ -405,7 +405,7 @@
|
|||||||
// Navbar vertical align
|
// Navbar vertical align
|
||||||
// -------------------------
|
// -------------------------
|
||||||
// Vertically center elements in the navbar.
|
// Vertically center elements in the navbar.
|
||||||
// Example: an element has a height of 30px, so write out `.navbarVerticalAlign(30px);` to calculate the appropriate top margin.
|
// Example: an element has a height of 30px, so write out `.navbar-vertical-align(30px);` to calculate the appropriate top margin.
|
||||||
.navbar-vertical-align(@element-height) {
|
.navbar-vertical-align(@element-height) {
|
||||||
margin-top: ((@navbar-height - @element-height) / 2);
|
margin-top: ((@navbar-height - @element-height) / 2);
|
||||||
margin-bottom: ((@navbar-height - @element-height) / 2);
|
margin-bottom: ((@navbar-height - @element-height) / 2);
|
||||||
|
Reference in New Issue
Block a user