From c6762d92158de6481858a714ac78b299a4d833a5 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 4 Nov 2022 23:00:28 +0800 Subject: [PATCH] style: fix Drawer extra using Radio.Group (#38385) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * style: fix Drawer extra using Radio.Group close #38297 * chore: adjust flex logic * chore: fix lint Co-authored-by: 二货机器人 --- components/drawer/style/drawer.less | 2 +- components/table/demo/resizable-column.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/drawer/style/drawer.less b/components/drawer/style/drawer.less index 93f251a745..8b3c08a0bb 100644 --- a/components/drawer/style/drawer.less +++ b/components/drawer/style/drawer.less @@ -105,7 +105,7 @@ } &-extra { - flex: 0; + flex: none; } &-close { diff --git a/components/table/demo/resizable-column.md b/components/table/demo/resizable-column.md index 46f01d69a1..e832f246ac 100644 --- a/components/table/demo/resizable-column.md +++ b/components/table/demo/resizable-column.md @@ -114,7 +114,7 @@ const App: React.FC = () => { }, ]; - const handleResize = + const handleResize: Function = (index: number) => (_: React.SyntheticEvent, { size }: ResizeCallbackData) => { const newColumns = [...columns];