fix: !importantでいけるか!?!?!?
This commit is contained in:
parent
d7c01e2d47
commit
3d0d14d1fa
@ -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;
|
||||
}
|
||||
`;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user