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:
parent
cffb403435
commit
e063108ea4
@ -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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user