From 5ef48289747409b6d962f75627ddb11e2765f965 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 23 May 2017 17:51:10 +0800 Subject: [PATCH] Remove default margin-bottom of Alert --- components/alert/demo/basic.md | 6 ++++++ components/alert/index.zh-CN.md | 1 - components/alert/style/index.less | 2 -- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/components/alert/demo/basic.md b/components/alert/demo/basic.md index 02b0e57b58..cf4d174a25 100644 --- a/components/alert/demo/basic.md +++ b/components/alert/demo/basic.md @@ -20,3 +20,9 @@ ReactDOM.render( , mountNode); ```` + + diff --git a/components/alert/index.zh-CN.md b/components/alert/index.zh-CN.md index d47c93b967..de782408d3 100644 --- a/components/alert/index.zh-CN.md +++ b/components/alert/index.zh-CN.md @@ -24,4 +24,3 @@ title: Alert | onClose | 关闭时触发的回调函数 | Function | 无 | | showIcon | 是否显示辅助图标 | boolean | false,`banner` 模式下默认值为 true | | banner | 是否用作顶部公告 | boolean | false | - diff --git a/components/alert/style/index.less b/components/alert/style/index.less index eafd205b41..f37fa71d7c 100644 --- a/components/alert/style/index.less +++ b/components/alert/style/index.less @@ -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; }