Skip to content

Commit

Permalink
Merge pull request #1505 from ecency/bugfix/tailwind-migration-fixes
Browse files Browse the repository at this point in the history
Tailwind migration: fixed buttons in Safari
  • Loading branch information
feruzm authored Nov 9, 2023
2 parents 5d85d21 + 19bbb22 commit 5ed2ecf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/common/features/ui/button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ export const Button = forwardRef<HTMLButtonElement | HTMLAnchorElement, ButtonPr
});

const icon = props.icon ? (
<div className={"flex justify-center items-center w-5 h-5 " + props.iconClassName}>
<div
className={"flex justify-center items-center w-5 h-5 [&>svg]:w-full " + props.iconClassName}
>
{props.icon}
</div>
) : (
Expand Down

0 comments on commit 5ed2ecf

Please sign in to comment.