mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-12 20:15:26 +00:00
Keep answer math in its frame and its case
A display formula wider than the column scrolls in its own box, as code and tables do, and a formula in a table header is not uppercased: n and N are different variables.
This commit is contained in:
1 parent
845e39969e
commit
c0c587de81
1 file changed
+15
@@ -9,3 +9,18 @@
|
||||
.list li > .list {
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
|
||||
/* A display formula wider than the answer column scrolls in its own box, as
|
||||
fenced code and tables do, rather than pushing the column sideways. The
|
||||
padding keeps tall symbols clear of the clipped edge. */
|
||||
.answer :global(.katex-display) {
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
padding-block: 0.25em;
|
||||
}
|
||||
|
||||
/* Table headers are set in capitals, but a formula keeps its case: `n` and
|
||||
`N` are different variables. */
|
||||
.answer thead :global(.katex) {
|
||||
text-transform: none;
|
||||
}
|
||||
Reference in new issue
Block a user