From 1cc64d09b48ab2722d9ca7e12153b33cef18f415 Mon Sep 17 00:00:00 2001 From: amazingrise <8315221+AmazingRise@users.noreply.github.com> Date: Sat, 11 Apr 2020 17:51:22 +0800 Subject: Add MathJax support. --- assets/scss/journal.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'assets') diff --git a/assets/scss/journal.scss b/assets/scss/journal.scss index b4f98b8..9fef62c 100644 --- a/assets/scss/journal.scss +++ b/assets/scss/journal.scss @@ -69,7 +69,7 @@ body { * { color: $deep-dark-accent; - line-height: 1.7em; + //line-height: 1.7em; word-wrap: break-word; box-sizing: border-box; } @@ -815,6 +815,7 @@ a { .post-subtitle { font-size: $post-subtitle-size; + line-height: 1.2em; width: 80%; opacity: 0.6; padding: 0px 0 8px 0; @@ -1061,3 +1062,8 @@ a { .year { color: $dark-accent; } + +mjx-container +{ + overflow-y: hidden !important; +} \ No newline at end of file -- cgit v1.2.3