fix: modal confirm centered not work

pull/197/head
undefined 2018-09-13 21:28:02 +08:00
parent 3a6e2f9b2a
commit 647214c513
1 changed files with 17 additions and 0 deletions

View File

@ -72,3 +72,20 @@
color: @success-color; color: @success-color;
} }
} }
.@{confirm-prefix-cls}-centered {
text-align: center;
&:before {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
width: 0;
}
.@{confirm-prefix-cls} {
display: inline-block;
vertical-align: middle;
top: 0;
text-align: left;
}
}