mirror of
https://github.com/flarum/core.git
synced 2025-07-30 21:20:24 +02:00
Clean up LESS files
This commit is contained in:
9
less/lib/bootstrap/mixins/nav-vertical-align.less
Executable file
9
less/lib/bootstrap/mixins/nav-vertical-align.less
Executable file
@@ -0,0 +1,9 @@
|
||||
// Navbar vertical align
|
||||
//
|
||||
// Vertically center elements in the navbar.
|
||||
// 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) {
|
||||
margin-top: ((@navbar-height - @element-height) / 2);
|
||||
margin-bottom: ((@navbar-height - @element-height) / 2);
|
||||
}
|
Reference in New Issue
Block a user