fix: Fixed issue where ordered list numbers in Super would get cut off when using monospace font

This commit is contained in:
Aman Harwara
2023-03-24 19:10:33 +05:30
parent 5cd04b1474
commit 8bf891f8a3
2 changed files with 12 additions and 5 deletions

View File

@@ -6,4 +6,5 @@ export const reloadFont = (monospaceFont?: boolean) => {
} else {
root.style.setProperty(propertyName, 'var(--sn-stylekit-sans-serif-font)')
}
document.documentElement.classList.toggle('monospace-font', monospaceFont)
}