Browse Source

fix: modal confirm centered not work

pull/197/head
undefined 6 years ago
parent
commit
647214c513
  1. 17
      components/modal/style/confirm.less

17
components/modal/style/confirm.less

@ -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;
}
}

Loading…
Cancel
Save