From 28e2117c68005e867aa79e22cd87be936e86b0af Mon Sep 17 00:00:00 2001 From: HeskeyBaozi Date: Fri, 24 Aug 2018 19:00:06 +0800 Subject: [PATCH] use cross --- .../__tests__/__snapshots__/demo.test.js.snap | 64 +++++++++++++++++-- components/tag/style/index.less | 6 +- package.json | 2 +- 3 files changed, 64 insertions(+), 8 deletions(-) diff --git a/components/progress/__tests__/__snapshots__/demo.test.js.snap b/components/progress/__tests__/__snapshots__/demo.test.js.snap index da702e2b72..70b48911da 100644 --- a/components/progress/__tests__/__snapshots__/demo.test.js.snap +++ b/components/progress/__tests__/__snapshots__/demo.test.js.snap @@ -80,7 +80,21 @@ exports[`renders ./components/progress/demo/circle.md correctly 1`] = ` > + > + + @@ -316,7 +330,21 @@ exports[`renders ./components/progress/demo/circle-mini.md correctly 1`] = ` > + > + + @@ -652,7 +680,21 @@ exports[`renders ./components/progress/demo/line.md correctly 1`] = ` > + > + + @@ -787,7 +829,21 @@ exports[`renders ./components/progress/demo/line-mini.md correctly 1`] = ` > + > + + diff --git a/components/tag/style/index.less b/components/tag/style/index.less index 8844abc21b..50b0662031 100644 --- a/components/tag/style/index.less +++ b/components/tag/style/index.less @@ -35,7 +35,7 @@ padding: 0 8px; } - .@{iconfont-css-prefix}-cross { + .@{iconfont-css-prefix}-close { .iconfont-size-under-12px(10px); cursor: pointer; margin-left: 3px; @@ -53,8 +53,8 @@ &, a, a:hover, - .@{iconfont-css-prefix}-cross, - .@{iconfont-css-prefix}-cross:hover { + .@{iconfont-css-prefix}-close, + .@{iconfont-css-prefix}-close:hover { color: #fff; } } diff --git a/package.json b/package.json index 6c6fddf5a6..a5e1bcffed 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "react-dom": ">=16.0.0" }, "dependencies": { - "@ant-design/icons": "^0.2.1-beta.7", + "@ant-design/icons": "^0.2.1-beta.8", "@ant-design/icons-react": "^0.2.0-beta.1", "array-tree-filter": "^2.0.0", "babel-runtime": "6.x",