fix(editor): math equation not being rendered correctly on electron client (#12448)
fix #12300 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Improved font rendering for math content on Windows by explicitly setting the font for math elements. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -298,3 +298,11 @@ input {
|
|||||||
[contenteditable]:focus-visible {
|
[contenteditable]:focus-visible {
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Math font may not being loaded in Electron */
|
||||||
|
math {
|
||||||
|
font-family:
|
||||||
|
'Cambria Math' /* windows */,
|
||||||
|
'STIX Two Math' /* mac */,
|
||||||
|
math;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user