.mw-halign-right should probably have float: right;, not float: left;
Also, use & because .mw-halign-* are applied to <figure>, not its descendants.
Bug: 65596
Change-Id: I7cd00f0049523f064703d7355b80457a4ab5d0d0
border: 0;
}
- .mw-halign-right {
+ &.mw-halign-right {
/* @noflip */
margin: .5em 0 1.3em 1.4em;
/* @noflip */
- clear: left;
+ clear: right;
/* @noflip */
- float: left;
+ float: right;
}
/* @noflip */
- .mw-halign-left {
+ &.mw-halign-left {
/* @noflip */
margin: .5em 1.4em 1.3em 0;
/* @noflip */
- clear: right;
+ clear: left;
/* @noflip */
- float: right;
+ float: left;
}
- .mw-halign-center {
+ &.mw-halign-center {
margin-left: auto;
margin-right: auto;
}