mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-15 03:34:10 +00:00
848d762e24
The chemical and mathematical formula inspectors and dialogs have a lot of similar functionality, and the common parts are now moved to the common MWLatex class. MWMath* classes now inherit from MWLatex*, and so do the new MWChem* classes. Bug: T153365 Change-Id: I4452ceca55197fda5f1e1293a5741c6f5fb7c245
11 lines
446 B
CSS
11 lines
446 B
CSS
/**
|
|
* Hide math tag completely to avoid extra bounding boxes for Chrome, Safari, Android...
|
|
* Browser-specific hacks are bad but let's use that for now...
|
|
* See http://browserhacks.com
|
|
*/
|
|
@media screen and ( -webkit-min-device-pixel-ratio: 0 ) { /* stylelint-disable-line media-feature-name-no-vendor-prefix */
|
|
.ve-ce-mwLatexNode .mwe-math-mathml-a11y {
|
|
display: none !important; /* stylelint-disable-line declaration-no-important */
|
|
}
|
|
}
|