mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 03:08:40 +00:00
* Revert frac-lines to borders This PR reverts the rendering of frac-lines from SVG paths back to span borders. This solves the thick grey bar reported by @mbourne in issue #1173. The result is a frac-line similar to KaTeX v0.9.0-alpha1. The frac-lines are span borders and the CSS contains a `min-width: 1px;` rule to keep those borders visible. There is one difference between this PR and v0.9.0-alpha1. The earlier work contained a second CSS rule: ``` @media screen and (-webkit-min-device-pixel-ratio: 2), screen and (min-resolution: 192dpi) { .katex.mfra.fracline { min-height:0.5px; } } That second CSS rule did not help much. Instead, it caused some lines to disappear. In the thread to issue 1173, people tested the rendering from the proposed approach and reported that frac-lines disappeared only at sized that were already too small to read. * Fix lint errors * Remove superfluous SVG paths. * Remove superfluous CSS * Removed `rulespan` from `stretchy.js` * Support Unicode \ll and \lll Fixes issue #1271 * Fix indent * update screenshots for fracLineBorder * Update Arrays-chrome screenshot for fracLineBorder
23 KiB
1024x768px
23 KiB
1024x768px
