mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
fix: style parse error (#38742)
This commit is contained in:
parent
5fa55e291d
commit
c511557e76
@ -234,7 +234,7 @@ const genFormItemStyle: GenerateStyle<FormToken> = (token) => {
|
||||
flexDirection: 'column',
|
||||
flexGrow: 1,
|
||||
|
||||
[`&:first-child:not([class^=~"'${rootPrefixCls}-col-'"]):not([class*=~"' ${rootPrefixCls}-col-'"])`]:
|
||||
[`&:first-child:not([class^="'${rootPrefixCls}-col-'"]):not([class*="' ${rootPrefixCls}-col-'"])`]:
|
||||
{
|
||||
width: '100%',
|
||||
},
|
||||
|
@ -738,10 +738,9 @@ const genSearchInputStyle: GenerateStyle<InputToken> = (token: InputToken) => {
|
||||
'&:hover, &:focus': {
|
||||
borderColor: token.colorPrimaryHover,
|
||||
|
||||
[`+ ${componentCls}-group-addon ${searchPrefixCls}-button:not(.@{ant-prefix}-btn-primary)`]:
|
||||
{
|
||||
borderInlineStartColor: token.colorPrimaryHover,
|
||||
},
|
||||
[`+ ${componentCls}-group-addon ${searchPrefixCls}-button:not(${antCls}-btn-primary)`]: {
|
||||
borderInlineStartColor: token.colorPrimaryHover,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
|
@ -44,7 +44,7 @@ function genSizeStyle(token: SelectToken, suffix?: string): CSSObject {
|
||||
transition: `all ${token.motionDurationSlow}`,
|
||||
|
||||
// Firefox inline-block position calculation is not same as Chrome & Safari. Patch this:
|
||||
'@supports (-moz-appearance: meterbar) &': {
|
||||
'@supports (-moz-appearance: meterbar)': {
|
||||
lineHeight: `${selectHeightWithoutBorder}px`,
|
||||
},
|
||||
},
|
||||
|
@ -423,7 +423,7 @@ export const genDirectoryStyle = (token: TreeToken): CSSObject => {
|
||||
background: 'transparent',
|
||||
},
|
||||
|
||||
[`&.${treeCls}-node-selected`]: {
|
||||
[`&${treeCls}-node-selected`]: {
|
||||
color: token.colorTextLightSolid,
|
||||
background: 'transparent',
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user