Skip to content

Commit 094b014

Browse files
authored
Merge pull request velopert#142 from velopert/fix/mathml-overflow
Fix MathML overflow by setting display to none
2 parents 8e285f8 + fa6ecb2 commit 094b014

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/common/MarkdownRender.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ const MarkdownRenderBlock = styled.div`
119119
background: white;
120120
}
121121
}
122+
123+
.katex-mathml {
124+
display: none;
125+
}
122126
`;
123127

124128
function filter(html: string) {

0 commit comments

Comments
 (0)