Skip to content

Commit

Permalink
Fix layout inconsistency for removeable alert's X button (#1210)
Browse files Browse the repository at this point in the history
  • Loading branch information
ervinnnc committed May 22, 2021
1 parent 9beb4d4 commit 872eee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/alert/src/Alert.js
Expand Up @@ -72,7 +72,7 @@ const Alert = memo(
)}
</Pane>
{isRemoveable && (
<Pane marginLeft={24} flexShrink={0} marginBottom={-2} marginTop={-2} marginRight={-2}>
<Pane marginLeft={24} flexShrink={0} marginBottom={-2} marginTop={-4} marginRight={-4}>
<IconButton icon={CrossIcon} appearance="minimal" height={24} onClick={onRemove} intent={intentToken} />
</Pane>
)}
Expand Down

0 comments on commit 872eee8

Please sign in to comment.