diff --git a/packages/surveys/src/styles/preflight.css b/packages/surveys/src/styles/preflight.css index e944805962..abfcbc3a70 100644 --- a/packages/surveys/src/styles/preflight.css +++ b/packages/surveys/src/styles/preflight.css @@ -9,6 +9,9 @@ /* 2 */ border-color: theme("borderColor.DEFAULT", currentColor); /* 2 */ + + font-family: inherit, Arial, Helvetica, sans-serif; + font-size: 1em; } #fbjs ::before, #fbjs ::after { @@ -23,26 +26,6 @@ /* 3 */ tab-size: 4; /* 3 */ - font-family: theme( - "fontFamily.sans", - ui-sans-serif, - system-ui, - -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" - ); - /* 4 */ - font-feature-settings: theme("fontFamily.sans[1].fontFeatureSettings", normal); - /* 5 */ } #fbjs body { margin: 0;