fix: icon size in sidbar

pull/17258/head
David Hill 2026-01-20 22:03:00 +00:00 committed by opencode
parent 80dc74a0ec
commit 3b46f90124
2 changed files with 6 additions and 1 deletions

View File

@ -17,6 +17,11 @@
height: 20px;
}
&[data-size="medium"] {
width: 24px;
height: 24px;
}
&[data-size="large"] {
width: 24px;
height: 24px;

View File

@ -73,7 +73,7 @@ const icons = {
export interface IconProps extends ComponentProps<"svg"> {
name: keyof typeof icons
size?: "small" | "normal" | "large"
size?: "small" | "normal" | "medium" | "large"
}
export function Icon(props: IconProps) {