Skip to content
Snippets Groups Projects
Commit ac38e3ed authored by Klaas Kliffen's avatar Klaas Kliffen :satellite:
Browse files

Merge branch 'fix-icon-size' into 'main'

fix: define icon width and height

See merge request !27
parents 6788eb99 b6d2e730
Branches
No related tags found
1 merge request!27fix: define icon width and height
Pipeline #73692 passed
......@@ -42,7 +42,14 @@ const Button = ({
return (
<NextButton
startContent={icon && <Icon name={icon} customClass={iconClass} />}
startContent={
icon && (
<Icon
name={icon}
customClass={clsx(iconClass, "w-[16px] h-[16px]")}
/>
)
}
className={clsx(
bgClass(isDisabled),
cursorPointer(isDisabled),
......
......@@ -17,5 +17,6 @@ export const SimpleIcon: StoryObj = {
args: {
name: "attention-circle",
color: "body",
customClass: "w-[16px] h-[16px]",
},
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment