Skip to content

Commit

Permalink
fix(*): code font size and extra mathjax scoll bar (#125)
Browse files Browse the repository at this point in the history
* style(font): use em for responsive code font size

* style(mathjax): avoid extra horizontal scrollbar
  • Loading branch information
panda-z authored and olOwOlo committed Feb 14, 2019
1 parent 920e2eb commit 4fe2685
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/css/_partial/_post/_content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -192,5 +192,6 @@
.MJXc-display {
overflow-x: auto;
overflow-y: hidden;
padding-right: 1px;
}
}
2 changes: 1 addition & 1 deletion src/css/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 4fe2685

Please sign in to comment.