fix: font-family

This commit is contained in:
chenos 2023-04-11 22:31:47 +08:00
parent 479b469db1
commit 3b3ea25523

View File

@ -78,7 +78,7 @@ export const Gantt: any = (props: any) => {
handleWidth = 8,
timeStep = 300000,
arrowColor = 'grey',
fontFamily = 'Arial, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue',
fontFamily = `-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'`,
fontSize = currentTheme === 'compact' ? '12px' : '14px',
arrowIndent = 20,
todayColor = 'rgba(252, 248, 227, 0.5)',