Remove default margin-bottom of Alert

pull/6182/merge
afc163 8 years ago
parent 5b4adeb339
commit 5ef4828974

@ -20,3 +20,9 @@ ReactDOM.render(
<Alert message="Success Text" type="success" />
, mountNode);
````
<style>
.ant-alert {
margin-bottom: 16px;
}
</style>

@ -24,4 +24,3 @@ title: Alert
| onClose | 关闭时触发的回调函数 | Function | 无 |
| showIcon | 是否显示辅助图标 | boolean | false`banner` 模式下默认值为 true |
| banner | 是否用作顶部公告 | boolean | false |

@ -12,7 +12,6 @@
color: @alert-text-color;
font-size: @font-size-base;
line-height: 16px;
margin-bottom: 10px;
&&-no-icon {
padding: 8px 48px 8px 16px;
@ -91,7 +90,6 @@
padding: 16px 16px 16px 60px;
position: relative;
border-radius: @border-radius-base;
margin-bottom: 10px;
color: @text-color;
line-height: 1.5;
}

Loading…
Cancel
Save