From fa99f2e786f8da33a70f1f7966f269759672beb6 Mon Sep 17 00:00:00 2001 From: Danial Soheili <33312687+ds1371dani@users.noreply.github.com> Date: Sun, 29 Jan 2023 16:16:13 +0330 Subject: [PATCH] fix: Table scroll shadow in rtl mode (#40441) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 💄 STYLE: fix Table's scroll shadow in rtl mode * Revert "💄 STYLE: fix Table's scroll shadow in rtl mode" This reverts commit 06c9249f702f421bc8115b95a89bf1cdd81f49b6. * 💄 STYLE: use logical properties --- components/table/style/rtl.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/components/table/style/rtl.ts b/components/table/style/rtl.ts index 73310080b389..bd1b3436cd5e 100644 --- a/components/table/style/rtl.ts +++ b/components/table/style/rtl.ts @@ -32,6 +32,18 @@ const genStyle: GenerateStyle = (token) => { transform: 'rotate(0deg)', }, }, + + [`${componentCls}-container`]: { + '&::before': { + insetInlineStart: 'unset', + insetInlineEnd: 0, + }, + + '&::after': { + insetInlineStart: 0, + insetInlineEnd: 'unset', + }, + }, }, }; };