Skip to content

Commit

Permalink
fix(icon): add color style
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow81627 committed Apr 22, 2022
1 parent 8a8899a commit e605a28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/base/Icon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
/>
<Icon
v-else
style="font-size: 2em"
style="font-size: 2em; width: 32px; height: 32px"
:style="{ color: color }"
:icon="icon"
:class="[`${color}--text`]"
v-bind="$attrs"
v-on="$listeners"
></Icon>
Expand Down

0 comments on commit e605a28

Please sign in to comment.