2
0
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:
Mark Otto
2013-01-16 16:14:41 -08:00
parent 960804cea3
commit 9ba14cfb7c
8 changed files with 190 additions and 122 deletions
+2 -1
View File
@@ -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;
}