mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
fix: focus outline width (#40839)
This commit is contained in:
parent
16e90b2301
commit
b9a1e08ba4
@ -127,7 +127,7 @@ export const genCommonStyle = (token: DerivativeToken, componentPrefixCls: strin
|
||||
};
|
||||
|
||||
export const genFocusOutline = (token: DerivativeToken): CSSObject => ({
|
||||
outline: `${token.lineWidthBold}px solid ${token.colorPrimaryBorder}`,
|
||||
outline: `${token.lineWidth * 4}px solid ${token.colorPrimaryBorder}`,
|
||||
outlineOffset: 1,
|
||||
transition: 'outline-offset 0s, outline 0s',
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user