@@ -148,34 +148,22 @@ export const ChtmlMath = (function <N, T, D>(): ChtmlMathClass<N, T, D> {
148148 direction : 'ltr' ,
149149 padding : '1px 0' ,
150150 } ,
151- 'mjx-container[jax="CHTML"][display="true"]' : {
152- display : 'block' ,
153- 'text-align' : 'center' ,
154- 'justify-content' : 'center' ,
155- margin : '1em 0' ,
156- } ,
157- 'mjx-container[jax="CHTML"][display="true"][width="full"]' : {
158- display : 'flex' ,
159- } ,
160151 'mjx-container[jax="CHTML"][display="true"] mjx-math' : {
161152 padding : 0 ,
162153 } ,
163- 'mjx-container[jax="CHTML"][justify="left"]' : {
164- 'text-align' : 'left' ,
165- 'justify-content' : 'left' ,
166- } ,
167- 'mjx-container[jax="CHTML"][justify="right"]' : {
168- 'text-align' : 'right' ,
169- 'justify-content' : 'right' ,
154+ 'mjx-math[breakable]' : {
155+ display : 'inline' ,
156+ 'font-family' : 'inherit' ,
170157 } ,
171158 //
172159 // For inline breakpoints, use a space that is 1em width, make it breakable,
173- // and then set the letter-spacing to make the sace the proper size.
160+ // and then set the letter-spacing to make the space the proper size.
174161 //
175162 'mjx-container[jax="CHTML"] mjx-break' : {
176163 'white-space' : 'normal' ,
177164 'line-height' : '0' ,
178- 'font-family' : 'MJX-BRK' ,
165+ 'clip-path' : 'rect(0 0 0 0)' ,
166+ 'font-family' : 'MJX-BRK !important' ,
179167 } ,
180168 'mjx-break[size="0"]' : {
181169 'letter-spacing' : 0.001 - 1 + 'em' ,
@@ -195,9 +183,6 @@ export const ChtmlMath = (function <N, T, D>(): ChtmlMathClass<N, T, D> {
195183 'mjx-break[size="5"]' : {
196184 'letter-spacing' : 0.333 - 1 + 'em' ,
197185 } ,
198- 'mjx-math[breakable]' : {
199- display : 'inline' ,
200- } ,
201186 } ;
202187
203188 /**
0 commit comments