From a6c91c5064f26fd4322553645fdffa2b17011f72 Mon Sep 17 00:00:00 2001 From: MadCcc <1075746765@qq.com> Date: Tue, 26 Sep 2023 13:42:56 +0800 Subject: [PATCH] fix: DatePicker fontFamily (#45088) --- components/date-picker/style/index.ts | 1 + components/select/style/index.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/components/date-picker/style/index.ts b/components/date-picker/style/index.ts index 932087d118..24a6c51060 100644 --- a/components/date-picker/style/index.ts +++ b/components/date-picker/style/index.ts @@ -1148,6 +1148,7 @@ const genPickerStyle: GenerateStyle = (token) => { background: 'transparent', border: 0, borderRadius: 0, + fontFamily: 'inherit', '&:focus': { boxShadow: 'none', diff --git a/components/select/style/index.tsx b/components/select/style/index.tsx index 4f21e0820c..2c5dfe2e7a 100644 --- a/components/select/style/index.tsx +++ b/components/select/style/index.tsx @@ -208,6 +208,7 @@ const getSearchInputWithoutBorderStyle: GenerateStyle = border: 'none', outline: 'none', appearance: 'none', + fontFamily: 'inherit', '&::-webkit-search-cancel-button': { display: 'none',