From 65d1976d8b35b56d7b3d27f7e416fc01f78ca377 Mon Sep 17 00:00:00 2001 From: Maciej Topyla <m.m.topyla@student.tudelft.nl> Date: Sat, 1 Oct 2022 14:46:51 +0000 Subject: [PATCH] switch to mjx-container --- docs/styles/mathjax_overflowfix.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/styles/mathjax_overflowfix.css b/docs/styles/mathjax_overflowfix.css index 4fbed9f..77f6612 100644 --- a/docs/styles/mathjax_overflowfix.css +++ b/docs/styles/mathjax_overflowfix.css @@ -1,5 +1,6 @@ -.mjx-html { - overflow-x: auto; /* Horizontally scroll long equations. */ +mjx-container { + display: block; + overflow-x: auto; overflow-y: hidden; + max-width: 100%; } - -- GitLab