MediaWiki:Common.css: Difference between revisions

Prevent particularly long mathematical formulas extending beyond the width of the page
(Dark mode: Styling for successbox class)
(Prevent particularly long mathematical formulas extending beyond the width of the page)
Line 18: Line 18:
a:visited {
a:visited {
color:#18c;
color:#18c;
}
/* Prevent math formulas from overflowing the width of the page */
mjx-container {
  display: inline-block;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
}
}