admin/React_Full_Project/scss/bootstrap/mixins/_navbar-align.scss
Łukasz Holeczek 8b49e36656 - update: Bootstrap version to v4.0.0-beta.2
- refactor: Remove old SCSS variables
- refactor: Breadcrumb Menu styles
- fix: External links issue
- fix: Mobile sidebar-nav height issue
2017-10-22 19:18:46 +02:00

11 lines
385 B
SCSS
Executable File

// 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.
// @mixin navbar-vertical-align($element-height) {
// margin-top: (($navbar-height - $element-height) / 2);
// margin-bottom: (($navbar-height - $element-height) / 2);
// }