fix: !importantでいけるか!?!?!?

This commit is contained in:
mai 2024-05-06 12:00:06 +00:00 committed by hijiki
parent d7c01e2d47
commit 3d0d14d1fa

View File

@ -95,8 +95,10 @@ export function applyFont(fontname: null | string) {
style.innerHTML = `
@import url('${font.importUrl}');
body {
font-family: '${font.fontFamily}', 'Hiragino Maru Gothic Pro', 'BIZ UDGothic', Roboto, HelveticaNeue, Arial, sans-serif;
body * {
font-family: '${font.fontFamily}', sans-serif !important;
font-weight: 400;
font-style: normal;
}
`;
}