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,
|
tableSelectedRowBg: rowSelectedBg,
|
||||||
tableSelectedRowHoverBg: rowSelectedHoverBg,
|
tableSelectedRowHoverBg: rowSelectedHoverBg,
|
||||||
zIndexTableFixed,
|
zIndexTableFixed,
|
||||||
zIndexTableSticky: calc(zIndexTableFixed).add(1).equal(),
|
zIndexTableSticky: calc(zIndexTableFixed).add(1).equal({ unit: false }),
|
||||||
tableFontSizeMiddle: cellFontSizeMD,
|
tableFontSizeMiddle: cellFontSizeMD,
|
||||||
tableFontSizeSmall: cellFontSizeSM,
|
tableFontSizeSmall: cellFontSizeSM,
|
||||||
tableSelectionColumnWidth: selectionColumnWidth,
|
tableSelectionColumnWidth: selectionColumnWidth,
|
||||||
|
@ -61,7 +61,7 @@ const genSelectionStyle: GenerateStyle<TableToken, CSSObject> = (token) => {
|
|||||||
},
|
},
|
||||||
|
|
||||||
[`table tr th${componentCls}-selection-column${componentCls}-cell-fix-left`]: {
|
[`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`]: {
|
[`table tr th${componentCls}-selection-column::after`]: {
|
||||||
|
Loading…
Reference in New Issue
Block a user