Ensure the formula preview in MathDialog is vertically centered
The formula preview is not centered when the display attribute is set to block. Correct this by enforcing display: inline-block when the math image is inside the preview element. Bug: T119670 Change-Id: I77d9b213a31d3005212c8c11874112ddb64aa74a
This commit is contained in:
parent
a48a216171
commit
bd36680d21
|
@ -70,6 +70,11 @@
|
||||||
height: 10em;
|
height: 10em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Ensures the preview image is vertically centred */
|
||||||
|
.ve-ui-mwMathDialog-preview .mwe-math-fallback-image-display {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
.ve-ui-mwMathPage-outline {
|
.ve-ui-mwMathPage-outline {
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
color: #555;
|
color: #555;
|
||||||
|
|
Loading…
Reference in New Issue