mirror of
https://github.com/multipleof4/sune.git
synced 2026-03-17 03:01:03 +00:00
Feat: Add MathJax inline and display CSS
This commit is contained in:
@@ -10,3 +10,18 @@ html,body{overscroll-behavior-y:contain;font-family:'Assistant',sans-serif}
|
||||
#htmlEditor,#extensionHtmlEditor,#jsonSchemaEditor{outline:none;white-space:pre!important;font-size:11px;line-height:1.5;}
|
||||
:not(pre)>code{font-size:85%;padding:.2em .4em;margin:0;border-radius:6px;background-color:rgba(175,184,193,0.2)}
|
||||
#threadRepoInput::placeholder{font-family:sans-serif;font-weight:500;color:#9ca3af}
|
||||
|
||||
/* MathJax 3 SVG Scaling & Alignment */
|
||||
mjx-container[jax="SVG"] {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin: 0 0.125em !important;
|
||||
}
|
||||
mjx-container[jax="SVG"][display="true"] {
|
||||
display: block;
|
||||
text-align: center;
|
||||
margin: 1em 0 !important;
|
||||
}
|
||||
mjx-container svg {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user