mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
fix(Table): set z-index unit to false (#50357)
This commit is contained in:
parent
429cf1b3b2
commit
5aa5c3d591
@ -551,7 +551,7 @@ export default genStyleHooks(
|
||||
tableSelectedRowBg: rowSelectedBg,
|
||||
tableSelectedRowHoverBg: rowSelectedHoverBg,
|
||||
zIndexTableFixed,
|
||||
zIndexTableSticky: calc(zIndexTableFixed).add(1).equal(),
|
||||
zIndexTableSticky: calc(zIndexTableFixed).add(1).equal({ unit: false }),
|
||||
tableFontSizeMiddle: cellFontSizeMD,
|
||||
tableFontSizeSmall: cellFontSizeSM,
|
||||
tableSelectionColumnWidth: selectionColumnWidth,
|
||||
|
@ -61,7 +61,7 @@ const genSelectionStyle: GenerateStyle<TableToken, CSSObject> = (token) => {
|
||||
},
|
||||
|
||||
[`table tr th${componentCls}-selection-column${componentCls}-cell-fix-left`]: {
|
||||
zIndex: calc(token.zIndexTableFixed).add(1).equal(),
|
||||
zIndex: calc(token.zIndexTableFixed).add(1).equal({ unit: false }),
|
||||
},
|
||||
|
||||
[`table tr th${componentCls}-selection-column::after`]: {
|
||||
|
Loading…
Reference in New Issue
Block a user