Skip to content

Commit

Permalink
Merge pull request #8683 from artursopelnik/develop
Browse files Browse the repository at this point in the history
Add inline-svg icon support
  • Loading branch information
kball committed Apr 27, 2016
2 parents a03af1c + d26e11b commit bdd7b25
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions scss/components/_menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,12 @@ $menu-icon-spacing: 0.25rem !default;
@else {
> li > a {
img,
i {
vertical-align: middle;
}

i + span,
img + span {
i,
svg {
vertical-align: middle;
& + span {
vertical-align: middle;
}
}
}
}
Expand All @@ -178,7 +177,8 @@ $menu-icon-spacing: 0.25rem !default;
}

img,
i {
i,
svg {
margin-#{$global-right}: $menu-icon-spacing;

@if not $global-flexbox {
Expand All @@ -197,7 +197,8 @@ $menu-icon-spacing: 0.25rem !default;
}

img,
i {
i,
svg {
@if not $global-flexbox {
display: block;
margin: 0 auto $menu-icon-spacing;
Expand Down

0 comments on commit bdd7b25

Please # to comment.