Skip to content

Commit

Permalink
fix: inline math rendering (#169)
Browse files Browse the repository at this point in the history
* fix: inline math rendering

Closed #161

* Update docs/.../style.css too

---------

Co-authored-by: Anshul Singhvi <anshulsinghvi@gmail.com>
  • Loading branch information
thofma and asinghvi17 authored Aug 5, 2024
1 parent fd6208e commit 9183442
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/src/.vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ mjx-container {
}

mjx-container {
display: inline-block;
display: inline;
margin: auto 2px -2px;
}

Expand Down Expand Up @@ -240,4 +240,4 @@ mjx-container > svg {
overflow: hidden;
white-space: nowrap;
max-width: 200px;
} */
} */
4 changes: 2 additions & 2 deletions template/src/.vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ mjx-container {
}

mjx-container {
display: inline-block;
display: inline;
margin: auto 2px -2px;
}

Expand Down Expand Up @@ -240,4 +240,4 @@ mjx-container > svg {
overflow: hidden;
white-space: nowrap;
max-width: 200px;
} */
} */

0 comments on commit 9183442

Please sign in to comment.