From dbaf1d6ba356a36883d8857b458c30f15033d820 Mon Sep 17 00:00:00 2001 From: linxin Date: Mon, 29 Jul 2024 14:34:04 +0800 Subject: [PATCH] fix: normalize font-family --- styles/globals.scss | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/styles/globals.scss b/styles/globals.scss index 44c804e..9046151 100644 --- a/styles/globals.scss +++ b/styles/globals.scss @@ -18,9 +18,12 @@ html:not([lang='en']) { @apply max-w-[1920px] mx-auto; } html { - font-family: PingFang SC; overflow-x: hidden; } +html, +body { + font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; +} * { &::-webkit-scrollbar { @@ -44,10 +47,6 @@ html { .bg-brand_color { background-color: var(--brand_color); } -html { - font-family: PingFang SC; -} - .ant-carousel .slick-dots li button { background: #000000; opacity: 0.2;