Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tongchong committed Aug 14, 2024
1 parent e776999 commit 553ffc7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/early-donkeys-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@scow/lib-web": patch
---

修复 UI 拓展自定义图标大小与其它图标大小不一致的问题
4 changes: 2 additions & 2 deletions libs/web/src/layouts/icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ export function NavIcon({ src, alt = "" }: Props) {
alt={altName}
style={{
...style,
width: "1em",
height: "1em",
filter: dark ? "invert(100%)" : "none",
}}
width={14}
height={14}
className={className}
/>
)}
Expand Down

0 comments on commit 553ffc7

Please sign in to comment.