From 2a08383a2248a615709657b0615fce3c3a39d0d2 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 30 Oct 2020 21:09:05 +0800 Subject: [PATCH 1/3] =?UTF-8?q?test(=E2=9C=85):=20update=20table=20snapsho?= =?UTF-8?q?t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../__snapshots__/Table.rowSelection.test.js.snap | 6 +++--- .../table/__tests__/__snapshots__/demo.test.js.snap | 12 ++++++------ .../table/__tests__/__snapshots__/empty.test.js.snap | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/components/table/__tests__/__snapshots__/Table.rowSelection.test.js.snap b/components/table/__tests__/__snapshots__/Table.rowSelection.test.js.snap index e24a2a50b7..d6ea1a40cf 100644 --- a/components/table/__tests__/__snapshots__/Table.rowSelection.test.js.snap +++ b/components/table/__tests__/__snapshots__/Table.rowSelection.test.js.snap @@ -76,7 +76,7 @@ exports[`Table.rowSelection fix expand on th left when selection column fixed on Date: Fri, 30 Oct 2020 21:10:21 +0800 Subject: [PATCH 2/3] fix: Tree switcher icon double click selecting (#27476) --- components/tree/style/mixin.less | 8 ++++++-- components/tree/style/rtl.less | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/components/tree/style/mixin.less b/components/tree/style/mixin.less index 20f85cdc98..bfb9f78cce 100644 --- a/components/tree/style/mixin.less +++ b/components/tree/style/mixin.less @@ -94,17 +94,17 @@ } // >>> Switcher - & &-switcher { + &-switcher { .antTreeSwitcherIcon(); position: relative; flex: none; align-self: stretch; - width: @tree-title-height; margin: 0; line-height: @tree-title-height; text-align: center; cursor: pointer; + user-select: none; &-noop { cursor: default; @@ -241,6 +241,10 @@ .@{custom-tree-prefix-cls}-switcher { z-index: 1; background: @component-background; + + &-line-icon { + vertical-align: -.225em; + } } } } diff --git a/components/tree/style/rtl.less b/components/tree/style/rtl.less index 6e99ac6474..64581e1a10 100644 --- a/components/tree/style/rtl.less +++ b/components/tree/style/rtl.less @@ -19,7 +19,7 @@ } // >>> Switcher - & &-switcher { + &-switcher { &_close { .@{tree-prefix-cls}-switcher-icon { svg { From ea02c93c448879c7bf8c3e7acb35095882f2e10d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=8F=E5=8F=B3?= Date: Fri, 30 Oct 2020 22:50:25 +0800 Subject: [PATCH 3/3] Update RecommendPage.tsx --- site/theme/template/Home/RecommendPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/theme/template/Home/RecommendPage.tsx b/site/theme/template/Home/RecommendPage.tsx index fe4d30a01a..62b1108ed1 100644 --- a/site/theme/template/Home/RecommendPage.tsx +++ b/site/theme/template/Home/RecommendPage.tsx @@ -41,7 +41,7 @@ const LIST_EN: Recommend[] = [ { title: 'New generation of Ant Design, the future is coming, let us create it together!', description: - 'Welcome to join us,Ant Designers!', + 'Welcome to join us, Ant Designers!', img: 'https://gw.alipayobjects.com/mdn/rms_08e378/afts/img/A*yGcPRroihLQAAAAAAAAAAAAAARQnAQ', href: 'https://zhuanlan.zhihu.com/p/269789439', popularize: true,