If the message is long, it should remain on the same line as the
icon, and the padding should come from the 'head' element rather
than the individual icon/label elements.
Bug: T169110
Change-Id: I726649f9fbd7e095aea62693aff269108c872661
}
> .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head {
+ height: auto;
+ padding: 1em;
+ // Icon width + icon left position (rounded to 0.5 to give a little extra margin)
+ padding-right: 1.875em + 0.5em;
+
> .oo-ui-iconWidget {
- margin: 0.75em 0.5em;
- float: left;
+ float: none;
+ display: inline-block;
+ margin: 0;
}
> .oo-ui-labelElement-label {
+ float: none;
+ display: inline;
font-size: 1.2em;
- padding: 0.3em;
- margin-left: 0;
+ margin: 0;
font-weight: bold;
}
}