Skip to content

Commit fbe9188

Browse files
committed
fix(ItemAction): min icon size
1 parent c0e8619 commit fbe9188

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/actions/ItemAction/ItemAction.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ const ItemActionElement = tasty({
8282

8383
Icon: {
8484
...(ITEM_ACTION_BASE_STYLES.Icon as Styles),
85-
'$icon-size': 'min($local-icon-size, ($action-size - .5x))',
85+
'$icon-size': 'min($local-icon-size, ($action-size - .25x))',
8686
},
8787

8888
RightIcon: {
8989
...(ITEM_ACTION_BASE_STYLES.Icon as Styles),
90-
'$icon-size': 'min($local-icon-size, ($action-size - .5x))',
90+
'$icon-size': 'min($local-icon-size, ($action-size - .25x))',
9191
},
9292
},
9393
variants: {

src/components/content/Tag/Tag.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function Tag(allProps: CubeTagProps, ref) {
7272
<Item.Action
7373
aria-label="Close"
7474
styles={{ color: 'currentColor', ...closeButtonStyles }}
75-
icon={<CloseIcon stroke={2} />}
75+
icon={<CloseIcon />}
7676
onPress={onClose}
7777
/>
7878
) : undefined

0 commit comments

Comments
 (0)