mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
More navbar derping
This commit is contained in:
+2
-1
@@ -412,8 +412,9 @@
|
||||
// -------------------------
|
||||
// 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.
|
||||
.navbarVerticalAlign(@element-height) {
|
||||
.navbar-vertical-align(@element-height) {
|
||||
margin-top: (@navbar-height - @element-height) / 2;
|
||||
margin-bottom: (@navbar-height - @element-height) / 2;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user