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
Tags
1 merge request!27fix: define icon width and height
Pipeline #73692 passed
...@@ -42,7 +42,14 @@ const Button = ({ ...@@ -42,7 +42,14 @@ const Button = ({
return ( return (
<NextButton <NextButton
startContent={icon && <Icon name={icon} customClass={iconClass} />} startContent={
icon && (
<Icon
name={icon}
customClass={clsx(iconClass, "w-[16px] h-[16px]")}
/>
)
}
className={clsx( className={clsx(
bgClass(isDisabled), bgClass(isDisabled),
cursorPointer(isDisabled), cursorPointer(isDisabled),
......
...@@ -17,5 +17,6 @@ export const SimpleIcon: StoryObj = { ...@@ -17,5 +17,6 @@ export const SimpleIcon: StoryObj = {
args: { args: {
name: "attention-circle", name: "attention-circle",
color: "body", 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