Skip to content

Commit

Permalink
fix: update icon size in line mode for ComponentsPanel
Browse files Browse the repository at this point in the history
  • Loading branch information
wwsun committed Aug 30, 2024
1 parent bb1996c commit ae86fbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/designer/src/sidebar/components-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ function MaterialGrid({ data }: MaterialProps) {
<IconFont className="material-icon" type={data.icon || 'icon-placeholder'} />
) : (
<Box className="material-icon">
<img src={icon} alt={data.name} />
<img src={icon} alt={data.name} height="32" />
</Box>
);

Expand Down

0 comments on commit ae86fbf

Please sign in to comment.