diff --git a/framework/core/js/src/common/components/Alert.tsx b/framework/core/js/src/common/components/Alert.tsx index d04c9e8294..8ad8686b72 100644 --- a/framework/core/js/src/common/components/Alert.tsx +++ b/framework/core/js/src/common/components/Alert.tsx @@ -61,17 +61,19 @@ export default class Alert extends Component< return (
- {!!title && ( -
- {!!icon && ( - - - - )} - {title} -
- )} - {content} +
+ {!!title && ( +
+ {!!icon && ( + + + + )} + {title} +
+ )} + {content} +
    {listItems(controls.concat(dismissControl))}
diff --git a/framework/core/less/common/Alert.less b/framework/core/less/common/Alert.less index d66d723024..85f1f05f96 100644 --- a/framework/core/less/common/Alert.less +++ b/framework/core/less/common/Alert.less @@ -67,13 +67,17 @@ display: none; } } +.Alert-content { + flex-direction: column; +} .Alert-title { margin-bottom: 8px; font-weight: bold; - display: flex; align-items: center; gap: 8px; } -.Alert-container { +.Alert-container, +.Alert-content, +.Alert-title { display: flex; }