diff --git a/src/assets/styles/alert.less b/src/assets/styles/alert.less new file mode 100644 index 00000000..782a4c1c --- /dev/null +++ b/src/assets/styles/alert.less @@ -0,0 +1,3 @@ +.ant-alert-with-description .ant-alert-title { + line-height: 1; +} diff --git a/src/assets/styles/common.less b/src/assets/styles/common.less index 7f20ae4e..2e300b6e 100644 --- a/src/assets/styles/common.less +++ b/src/assets/styles/common.less @@ -1,4 +1,5 @@ @import './table.less'; +@import './alert.less'; .m-b-20 { margin-bottom: 20px; diff --git a/src/config/theme/dark.ts b/src/config/theme/dark.ts index c104a494..6e329316 100644 --- a/src/config/theme/dark.ts +++ b/src/config/theme/dark.ts @@ -43,6 +43,10 @@ export default { DatePicker: { fontSizeLG: 14 }, + Alert: { + withDescriptionPadding: '12px 16px', + withDescriptionIconSize: 18 + }, Menu: { iconSize: 16, iconMarginInlineEnd: 12, diff --git a/src/config/theme/light.ts b/src/config/theme/light.ts index 2340afc6..c1c23519 100644 --- a/src/config/theme/light.ts +++ b/src/config/theme/light.ts @@ -47,6 +47,10 @@ export default { DatePicker: { fontSizeLG: 14 }, + Alert: { + withDescriptionPadding: '12px 16px', + withDescriptionIconSize: 18 + }, Menu: { iconSize: 16, iconMarginInlineEnd: 12,