1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2025-01-18 17:04:09 +01:00

Fixed scrollbars on MathJax formulas

This commit is contained in:
squidfunk 2022-01-09 14:47:10 +01:00
parent cffb403435
commit e063108ea4

View File

@ -39,9 +39,14 @@
// Arithmatex content // Arithmatex content
> * { > * {
width: min-content; width: min-content;
margin: 1em auto !important; // stylelint-disable-line margin-inline: auto !important; // stylelint-disable-line
padding: 0 px2rem(16px); padding: 0 px2rem(16px);
touch-action: auto; touch-action: auto;
// MathJax container - see https://bit.ly/3HR8YJ5
mjx-container {
margin: 0 !important; // stylelint-disable-line
}
} }
} }
} }