Skip to content
This repository was archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
fix(katex): added overflow to show correctly on mobile devices
Browse files Browse the repository at this point in the history
fix #194
  • Loading branch information
victor-pogor committed Aug 9, 2021
1 parent 7a6850b commit 9f84d2f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/css/_page/_single.scss
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@
@import "../_partial/_single/mapbox";
@import "../_partial/_single/music";
@import "../_partial/_single/bilibili";
@import "../_partial/_single/katex";

hr {
margin: 1rem 0;
Expand Down
4 changes: 4 additions & 0 deletions assets/css/_partial/_single/_katex.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.katex, .katex-display{
overflow-x: auto;
overflow-y: hidden;
}

0 comments on commit 9f84d2f

Please sign in to comment.