fix(*): code font size and extra mathjax scoll bar (#125)

* style(font): use em for responsive code font size

* style(mathjax): avoid extra horizontal scrollbar
This commit is contained in:
panda-z 2019-02-14 20:50:34 +08:00 committed by olOwOlo
parent 920e2eb84b
commit 4fe268549a
2 changed files with 2 additions and 1 deletions

View file

@ -192,5 +192,6 @@
.MJXc-display {
overflow-x: auto;
overflow-y: hidden;
padding-right: 1px;
}
}

View file

@ -190,7 +190,7 @@ $content-table-border-color: darken($deputy-color, 3%) !default;
$code-color: #c7254e !default;
// Font size of code.
$code-font-size: 13px !default;
$code-font-size: 0.9em !default;
// Font family of the code.
$code-font-family: Consolas, Monaco, Menlo, "DejaVu Sans Mono",