chrome font size - RLidea/dev.docs GitHub Wiki

  • chrome ๋ธŒ๋ผ์šฐ์ €๋Š” ์ตœ์†Œ ํฐํŠธ ์‚ฌ์ด์ฆˆ๊ฐ€ ์ •ํ•ด์ ธ ์žˆ์Œ. (2020.04 ๊ธฐ์ค€์œผ๋กœ 18px)
  • ๊ทธ๋ณด๋‹ค ์ž‘์€ ํฐํŠธ๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์‹ถ๋‹ค๋ฉด css์— text-size-adjust: none; ์†์„ฑ์„ ์ถ”๊ฐ€ํ•ด์•ผ ํ•จ.
  • Next.js ํ”„๋กœ์ ํŠธ์˜ ๊ฒฝ์šฐ _app.js์˜ return(...)์—์„œ
return (
  <React.Fragment>
    <Head>
      <title>Dearyou</title>
        <meta name="viewport" content="minimum-scale=1, initial-scale=1, width=device-width" />
    </Head>
    <ThemeProvider theme={globalTheme}>
      <CssBaseline />
      {/* add style */}
      <Component style={{ textSizeAdjust: 'none' }} {...pageProps} />
    </ThemeProvider>
 </React.Fragment>
);
โš ๏ธ **GitHub.com Fallback** โš ๏ธ