fix alignment

pull/3932/head
Divyansh Singh 1 year ago
parent d87cdf0d59
commit b9ef224755

@ -242,10 +242,7 @@ vite-error-overlay {
}
mjx-container {
display: inline-block;
margin: auto 2px -2px;
overflow-x: auto;
overflow-y: clip;
}
mjx-container > svg {

@ -87,7 +87,7 @@ export async function createVitePressPlugin(
if (markdown?.math) {
isCustomElement = (tag) => {
if (['mjx-container', 'mjx-assistive-mml'].includes(tag)) {
if (tag.startsWith('mjx-')) {
return true
}
return userCustomElementChecker?.(tag) ?? false

Loading…
Cancel
Save