diff --git a/components/anchor/style/index.ts b/components/anchor/style/index.ts index 6f9520da6d..4727387fca 100644 --- a/components/anchor/style/index.ts +++ b/components/anchor/style/index.ts @@ -73,10 +73,7 @@ const genSharedAnchorStyle: GenerateStyle = (token): CSSObject => { [componentCls]: { '&::before': { position: 'absolute', - left: { - _skip_check_: true, - value: 0, - }, + insetInlineStart: 0, top: 0, height: '100%', borderInlineStart: `${lineWidthBold}px ${lineType} ${colorSplit}`, @@ -85,10 +82,7 @@ const genSharedAnchorStyle: GenerateStyle = (token): CSSObject => { [`${componentCls}-ink`]: { position: 'absolute', - left: { - _skip_check_: true, - value: 0, - }, + insetInlineStart: 0, display: 'none', transform: 'translateY(-50%)', transition: `top ${motionDurationSlow} ease-in-out`,