mirror of
https://github.com/doocs/md.git
synced 2026-08-31 01:40:10 +08:00
fix: katex width auto scroll (#1047)
This commit is contained in:
@@ -28,7 +28,7 @@ function createRenderer(display: boolean, inlineStyle: string, blockStyle: strin
|
||||
// svg.style = `max-width: 300vw !important; display: initial; flex-shrink: 0;`
|
||||
|
||||
svg.style.display = `initial`
|
||||
svg.style.maxWidth = `300vw`
|
||||
svg.style.setProperty(`max-width`, `300vw`, `important`)
|
||||
svg.style.flexShrink = `0`
|
||||
svg.style.width = width
|
||||
|
||||
|
||||
Reference in New Issue
Block a user