Skip to content

Commit

Permalink
fix(icon): wrong icon size when svg is used with k-icon-modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
JoomFX authored and Juveniel committed May 12, 2023
1 parent 5f7ec28 commit 94ea968
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/default/scss/icons/_layout.scss
Expand Up @@ -45,6 +45,10 @@ $ki-icon-size: $kendo-icon-size;
right: 0;
margin: 0 -.5em -.5em 0;
}
.k-svg-icon.k-icon-modifier {
width: 1em;
height: 1em;
}

.k-i-none::before {
content: "";
Expand Down
4 changes: 4 additions & 0 deletions packages/fluent/scss/icon/_layout.scss
Expand Up @@ -26,6 +26,10 @@
right: 0;
margin: 0 -.5em -.5em 0;
}
.k-svg-icon.k-icon-modifier {
width: 1em;
height: 1em;
}

// RTL icons
.k-rtl,
Expand Down

0 comments on commit 94ea968

Please sign in to comment.