mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
fix: DatePicker fontFamily (#45088)
This commit is contained in:
parent
29be72bc38
commit
a6c91c5064
@ -1148,6 +1148,7 @@ const genPickerStyle: GenerateStyle<PickerToken> = (token) => {
|
|||||||
background: 'transparent',
|
background: 'transparent',
|
||||||
border: 0,
|
border: 0,
|
||||||
borderRadius: 0,
|
borderRadius: 0,
|
||||||
|
fontFamily: 'inherit',
|
||||||
|
|
||||||
'&:focus': {
|
'&:focus': {
|
||||||
boxShadow: 'none',
|
boxShadow: 'none',
|
||||||
|
@ -208,6 +208,7 @@ const getSearchInputWithoutBorderStyle: GenerateStyle<SelectToken, CSSObject> =
|
|||||||
border: 'none',
|
border: 'none',
|
||||||
outline: 'none',
|
outline: 'none',
|
||||||
appearance: 'none',
|
appearance: 'none',
|
||||||
|
fontFamily: 'inherit',
|
||||||
|
|
||||||
'&::-webkit-search-cancel-button': {
|
'&::-webkit-search-cancel-button': {
|
||||||
display: 'none',
|
display: 'none',
|
||||||
|
Loading…
Reference in New Issue
Block a user