parent
6f032c9722
commit
19f0aea965
|
@ -99,7 +99,7 @@ const genLayoutStyle: GenerateStyle<LayoutToken, CSSObject> = token => {
|
||||||
// fix firefox can't set width smaller than content on flex item
|
// fix firefox can't set width smaller than content on flex item
|
||||||
minWidth: 0,
|
minWidth: 0,
|
||||||
background: colorBgHeader,
|
background: colorBgHeader,
|
||||||
transition: `all ${motionDurationMid}`,
|
transition: `all ${motionDurationMid}, background 0s`,
|
||||||
|
|
||||||
'&-children': {
|
'&-children': {
|
||||||
height: '100%',
|
height: '100%',
|
||||||
|
|
|
@ -248,11 +248,7 @@ const getBaseStyle: GenerateStyle<MenuToken> = token => {
|
||||||
lineHeight: 0, // Fix display inline-block gap
|
lineHeight: 0, // Fix display inline-block gap
|
||||||
listStyle: 'none',
|
listStyle: 'none',
|
||||||
outline: 'none',
|
outline: 'none',
|
||||||
transition: [
|
transition: `width ${motionDurationSlow} cubic-bezier(0.2, 0, 0, 1) 0s`,
|
||||||
`background ${motionDurationSlow}`,
|
|
||||||
// Magic cubic here but smooth transition
|
|
||||||
`width ${motionDurationSlow} cubic-bezier(0.2, 0, 0, 1) 0s`,
|
|
||||||
].join(','),
|
|
||||||
|
|
||||||
[`ul, ol`]: {
|
[`ul, ol`]: {
|
||||||
margin: 0,
|
margin: 0,
|
||||||
|
|
Loading…
Reference in New Issue