mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-12-18 10:10:48 +00:00
0c889c4cd4
I tried hard to keep the CSS as small and robust as possible. The icon will be align with the text by adding a negativ margin. With that we also decided against using RTL and LTR specific icons that are positioned at the edge of the canvas for now. Bug: T213907 Change-Id: I98888114e1c50e249cf31e71749323bd4f69da3f
22 lines
336 B
Plaintext
22 lines
336 B
Plaintext
.mwe-popups-type-reference .mwe-popups-title {
|
|
margin-top: @popupPadding;
|
|
|
|
.mw-ui-icon {
|
|
vertical-align: middle;
|
|
|
|
&.mw-ui-icon-element {
|
|
min-width: @iconSize;
|
|
width: @iconSize;
|
|
|
|
&:before {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
&.mw-ui-icon-preview-reference {
|
|
/* align narrow icon with the text */
|
|
margin-left: -2px;
|
|
}
|
|
}
|
|
}
|