Skip to content

Commit

Permalink
fix(Button): ローディングアイコンの色とサイズを修正 (#1398)
Browse files Browse the repository at this point in the history
* fix(Button): ローディングアイコンの色とサイズを修正

* Create itchy-rice-allow.md
  • Loading branch information
Qs-F authored Jul 24, 2023
1 parent 0fa0cdc commit baefea2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/itchy-rice-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@4design/for-ui": patch
---

fix(Button): ローディングアイコンの色とサイズを修正
6 changes: 5 additions & 1 deletion packages/for-ui/src/button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,11 @@ const _Button = <As extends ElementType = 'button'>({
{endIcon}
{loading && (
<div className={fsx(`absolute inset-0 grid h-full w-full place-items-center`)}>
<Loader className={fsx(`[&:is(svg)]:fill-shade-dark-default [&:is(svg)]:h-6 [&:is(svg)]:w-6`)} />
<Loader
className={fsx(
`[&:is(svg):is(svg)]:fill-shade-dark-default [&:is(svg):is(svg)]:h-6 [&:is(svg):is(svg)]:w-6`,
)}
/>
</div>
)}
</MuiButton>
Expand Down

0 comments on commit baefea2

Please sign in to comment.