Skip to content

Commit

Permalink
feat(o-navbar): handle navbar-title's line-heights
Browse files Browse the repository at this point in the history
  • Loading branch information
ffoodd committed Jun 19, 2019
1 parent dc92c3d commit aa76516
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions scss/_o-navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
width: 1.875rem;
height: 1.875rem;
}

.badge {
left: 50%;
z-index: 1;
font-size: .75rem;
}
}

.nav-link:not(.icon)[class*="svg-"]::after {
Expand Down Expand Up @@ -235,6 +241,17 @@
}
}

.navbar-title {
&.h2 {
line-height: .925;
}

&.display-3,
&.display-4 {
line-height: 1;
}
}

@include media-breakpoint-down(sm) {
.navbar-brand,
.navbar-brand + .navbar-brand {
Expand Down

0 comments on commit aa76516

Please sign in to comment.