Skip to content

Commit

Permalink
fix: Table scroll shadow in rtl mode (ant-design#40441)
Browse files Browse the repository at this point in the history
* 💄 STYLE: fix Table's scroll shadow in rtl mode

* Revert "💄 STYLE: fix Table's scroll shadow in rtl mode"

This reverts commit 06c9249.

* 💄 STYLE: use logical properties
  • Loading branch information
ds1371dani authored and RedJue committed Apr 25, 2023
1 parent f4cc0b4 commit fa99f2e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions components/table/style/rtl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,18 @@ const genStyle: GenerateStyle<TableToken, CSSObject> = (token) => {
transform: 'rotate(0deg)',
},
},

[`${componentCls}-container`]: {
'&::before': {
insetInlineStart: 'unset',
insetInlineEnd: 0,
},

'&::after': {
insetInlineStart: 0,
insetInlineEnd: 'unset',
},
},
},
};
};
Expand Down

0 comments on commit fa99f2e

Please sign in to comment.