Skip to content

Commit

Permalink
fix: switch from font-size to with and height
Browse files Browse the repository at this point in the history
  • Loading branch information
AliKdhim87 authored and Robbert committed Jul 1, 2022
1 parent 80cca1d commit 15666a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/icon/src/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ const createIconWrapperComponent = () => {
const cssValue = `.${iconRapperComponent} {
display: inline-block;
color: var(--${componentPrefix}color);
font-size: var(--${componentPrefix}size);
line-height: 1;
width: var(--${componentPrefix}size);
height: var(--${componentPrefix}size);
}`;
fs.mkdirSync(dir);
fs.writeFile(
Expand Down

0 comments on commit 15666a4

Please sign in to comment.