@drghaliasri/butex 4.3.0 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/dist/index.global.js +8 -0
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -0
- package/dist/index.mjs.map +1 -1
- package/dist/react-document2.d.mts +1 -1
- package/dist/react-document2.d.ts +1 -1
- package/dist/react-document2.js +24 -43
- package/dist/react-document2.js.map +1 -1
- package/dist/react-document2.mjs +24 -43
- package/dist/react-document2.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -59,6 +59,14 @@ ${BUTEX_TAKWEEN_FONT_FACE_CSS}
|
|
|
59
59
|
var BUTEX_CHROME_CSS = `
|
|
60
60
|
${BUTEX_FONT_FACE_CSS}
|
|
61
61
|
|
|
62
|
+
/* Guard against host CSS resets (e.g. Tailwind Preflight's \`svg { display: block }\`).
|
|
63
|
+
* MathJax relies on the browser default \`display: inline\` for its SVG output; with
|
|
64
|
+
* MathJax v4 inline line-breaking an equation can be emitted as several sibling
|
|
65
|
+
* <svg> chunks, and a block-level reset stacks them vertically. */
|
|
66
|
+
mjx-container svg {
|
|
67
|
+
display: inline;
|
|
68
|
+
}
|
|
69
|
+
|
|
62
70
|
/* BuTeX: Arabic sqrt \u2014 outer mirror entire radical, inner unmirror index & radicand */
|
|
63
71
|
mjx-container[jax="CHTML"] .mjx-rtl-mirror {
|
|
64
72
|
transform: scaleX(-1);
|