mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-14 07:18:39 +00:00
Support \hline (#1306)
* Support \hline Support `\hline`. * Fix CSS * Fix lint errors * Add double \hline. Code Cleanup * Reduce width of screenshot test * Add screenshots * Use consumeSpaces, read multiple \hlines * Code cleanup * Update screenshots
This commit is contained in:
@@ -11,7 +11,8 @@
|
||||
|
||||
.mfrac .frac-line,
|
||||
.overline .overline-line,
|
||||
.underline .underline-line {
|
||||
.underline .underline-line,
|
||||
.hline {
|
||||
min-height: 1px;
|
||||
}
|
||||
}
|
||||
@@ -317,7 +318,8 @@
|
||||
}
|
||||
|
||||
.overline .overline-line,
|
||||
.underline .underline-line {
|
||||
.underline .underline-line,
|
||||
.hline {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
border-bottom-style: solid;
|
||||
|
Reference in New Issue
Block a user