Skip to content

Commit 647214c

Browse files
author
undefined
committed
fix: modal confirm centered not work
1 parent 3a6e2f9 commit 647214c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

components/modal/style/confirm.less

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,20 @@
7272
color: @success-color;
7373
}
7474
}
75+
76+
.@{confirm-prefix-cls}-centered {
77+
text-align: center;
78+
&:before {
79+
content: '';
80+
display: inline-block;
81+
height: 100%;
82+
vertical-align: middle;
83+
width: 0;
84+
}
85+
.@{confirm-prefix-cls} {
86+
display: inline-block;
87+
vertical-align: middle;
88+
top: 0;
89+
text-align: left;
90+
}
91+
}

0 commit comments

Comments
 (0)