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 4, 2023
1 parent e0deaa1 commit 78484ae
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 78484ae

Please sign in to comment.