diff --git a/src/components/Alert/Alert.scss b/src/components/Alert/Alert.scss index de329d75f3..34b4ede0ca 100644 --- a/src/components/Alert/Alert.scss +++ b/src/components/Alert/Alert.scss @@ -14,4 +14,8 @@ $block: '.#{variables.$ns}alert'; &__actions_minContent { width: min-content; } + + &__close-btn { + flex-shrink: 0; + } } diff --git a/src/components/Alert/Alert.tsx b/src/components/Alert/Alert.tsx index 902340d6ef..97e75f23ae 100644 --- a/src/components/Alert/Alert.tsx +++ b/src/components/Alert/Alert.tsx @@ -66,6 +66,7 @@ export const Alert = (props: AlertProps) => { {onClose && (