Adjust inline math font (#657)

This commit is contained in:
Felix Häusler 2019-01-25 06:57:24 +01:00 committed by Ran Luo
parent e9a8b6e281
commit 543ec07e72
4 changed files with 15 additions and 1 deletions

View File

@ -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**

View File

@ -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;
}

View File

@ -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;

View File

@ -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;