Closed Honsal closed 1 year ago
after bundle, in <head>
<head>
<head> /* ... */ <style data-emotion="css" data-s=""> .css-lcrz3t-MuiTypography-root{margin:0;font-family:Noto Sans KR,sans-serif;font-weight:400;font-size:0.875rem;line-height:1.43;color:white;} </style>
but in content script rendered component,
<span class="MuiTypography-root MuiTypography-body1 css-rfrue5-MuiTypography-root">Typo</span>
There's no css-lcrz3t- prefix so it could not render properly. How can I solve it? Or have I to wait until update?
css-lcrz3t-
Solved using @emotion/cache, createCache and CacheProvider
@emotion/cache
createCache
CacheProvider
after bundle, in
<head>
but in content script rendered component,
There's no
css-lcrz3t-
prefix so it could not render properly. How can I solve it? Or have I to wait until update?