Skip to content

Commit

Permalink
fix(icon): specify vertical align (#1657)
Browse files Browse the repository at this point in the history
  • Loading branch information
yggg authored Jul 1, 2019
1 parent f65a2cc commit 8ceb343
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
height: nb-theme(icon-height);
}

nb-icon svg {
vertical-align: nb-theme(icon-svg-vertical-align);
}

@each $status in nb-get-statuses() {
nb-icon.status-#{$status} {
color: nb-theme(icon-#{$status}-color);
Expand Down
1 change: 1 addition & 0 deletions src/framework/theme/styles/themes/_mapping.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1734,6 +1734,7 @@ $eva-mapping: (
icon-line-height: 1,
icon-width: 1em,
icon-height: 1em,
icon-svg-vertical-align: top,
icon-primary-color: color-primary-default,
icon-info-color: color-info-default,
icon-success-color: color-success-default,
Expand Down

0 comments on commit 8ceb343

Please sign in to comment.