mirror of
https://github.com/marktext/marktext.git
synced 2025-05-02 23:12:45 +08:00
Adjust inline math font (#657)
This commit is contained in:
parent
e9a8b6e281
commit
543ec07e72
4
.github/CHANGELOG.md
vendored
4
.github/CHANGELOG.md
vendored
@ -2,7 +2,7 @@
|
||||
|
||||
**:cactus:Feature**
|
||||
|
||||
- Added an error handler
|
||||
- Improve exception and error handling
|
||||
|
||||
**:butterfly:Optimization**
|
||||
|
||||
@ -10,6 +10,8 @@
|
||||
- Separate font and font size for code blocks and source code mode (#373, #467)
|
||||
- Opened files and opened directories/files can now be folded (#475, #602)
|
||||
- You can now hide the quick insert hint (#621)
|
||||
- Adjusted quote inline math color (#592)
|
||||
- Fix inline math text align (#593)
|
||||
|
||||
**:beetle:Bug fix**
|
||||
|
||||
|
@ -192,11 +192,15 @@ span.ag-math > .ag-math-render.ag-math-error {
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
/* (Preview) math block */
|
||||
/* TODO: DOM path should be wrong. Correct path should be: 'ag-container-preview > .katex-display'. */
|
||||
.ag-math > .ag-math-render .katex-display {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Inline math */
|
||||
.ag-math > .ag-math-render .katex {
|
||||
vertical-align: middle;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
@ -455,6 +455,10 @@ td code {
|
||||
color: #efefef;
|
||||
}
|
||||
|
||||
blockquote .ag-hide.ag-math > .ag-math-render {
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
.ag-gray.ag-math > .ag-math-render {
|
||||
color: #333333;
|
||||
background: #f6f8fa;
|
||||
|
@ -434,6 +434,10 @@ pre[class*="language-"] {
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
blockquote .ag-hide.ag-math > .ag-math-render {
|
||||
color: #777777;
|
||||
}
|
||||
|
||||
.ag-gray.ag-math > .ag-math-render {
|
||||
color: #f6f8fa;
|
||||
background: #333333;
|
||||
|
Loading…
Reference in New Issue
Block a user