MediaWiki:Common.css: Difference between revisions

m
inline-grid instead of inline-block for math formatting, prevents vertical misalignment of inline math
(Prevent particularly long mathematical formulas extending beyond the width of the page)
m (inline-grid instead of inline-block for math formatting, prevents vertical misalignment of inline math)
Line 22: Line 22:
/* Prevent math formulas from overflowing the width of the page */
/* Prevent math formulas from overflowing the width of the page */
mjx-container {
mjx-container {
   display: inline-block;
   display: inline-grid;
   overflow-x: auto;
   overflow-x: auto;
   overflow-y: hidden;
   overflow-y: hidden;