Skip to content

Commit 2889bcb

Browse files
authored
fix(modal): 修复 modal 组件在 alert, confirm 的弹窗场景下标题图标没有垂直局中的问题 (#3917)
1 parent 64b8985 commit 2889bcb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/theme/src/modal/index.less

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@
7575
var(--tv-Modal-box-header-padding-bottom) var(--tv-Modal-box-header-padding-x);
7676

7777
.@{modal-prefix-cls}__status-wrapper {
78+
display: flex;
79+
align-items: center;
7880
font-size: var(--tv-Modal-box-status-icon-font-size);
7981
margin-right: var(--tv-Modal-box-status-icon-margin-right);
8082

0 commit comments

Comments
 (0)