Skip to content

Commit

Permalink
fix(theme): use existing variable for bootstrap (#807)
Browse files Browse the repository at this point in the history
Fixes #739
  • Loading branch information
yggg authored and nnixaa committed Sep 27, 2018
1 parent 3e3fe1d commit e91f557
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/framework/bootstrap/styles/_hero-buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -604,8 +604,8 @@
@return btn-hero-line-height(nb-theme(btn-font-size-sm));
}

@function btn-hero-line-height-tn() {
@return btn-hero-line-height(nb-theme(btn-font-size-tn));
@function btn-hero-line-height-xs() {
@return btn-hero-line-height(nb-theme(btn-font-size-xs));
}


Expand All @@ -626,7 +626,7 @@
}

&.btn.btn-tn {
line-height: btn-hero-line-height-tn();
line-height: btn-hero-line-height-xs();
}
}

Expand Down
6 changes: 3 additions & 3 deletions src/framework/theme/components/button/_button-heroes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -575,8 +575,8 @@
@return btn-hero-line-height(nb-theme(btn-font-size-sm));
}

@function btn-hero-line-height-tn() {
@return btn-hero-line-height(nb-theme(btn-font-size-tn));
@function btn-hero-line-height-xs() {
@return btn-hero-line-height(nb-theme(btn-font-size-xs));
}


Expand All @@ -597,7 +597,7 @@
}

&.btn.btn-tn {
line-height: btn-hero-line-height-tn();
line-height: btn-hero-line-height-xs();
}
}

Expand Down

0 comments on commit e91f557

Please sign in to comment.