mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
Improve confirm Modal style detail
This commit is contained in:
parent
1566011720
commit
2969f9d1e5
@ -142,7 +142,9 @@ export default function confirm(config) {
|
||||
style={style}
|
||||
width={width}
|
||||
>
|
||||
<div style={{ zoom: 1, overflow: 'hidden' }}>{body} {footer}</div>
|
||||
<div className={`${prefixCls}-body-wrapper`}>
|
||||
{body} {footer}
|
||||
</div>
|
||||
</Dialog>
|
||||
, div);
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
@import "../../style/mixins/index";
|
||||
|
||||
@confirm-prefix-cls: ~"@{ant-prefix}-confirm";
|
||||
|
||||
.@{confirm-prefix-cls} {
|
||||
@ -13,6 +15,10 @@
|
||||
padding: 30px 40px;
|
||||
}
|
||||
|
||||
&-body-wrapper {
|
||||
.clearfix();
|
||||
}
|
||||
|
||||
&-body {
|
||||
.@{confirm-prefix-cls}-title {
|
||||
color: @text-color;
|
||||
@ -31,8 +37,6 @@
|
||||
font-size: 24px;
|
||||
margin-right: 16px;
|
||||
padding: 0 1px;
|
||||
position: relative;
|
||||
top: 1px;
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user