MWMediaDialog: Add a margin back to the border checkbox

This was removed upstream in OOUI as unecessary in general, but clearly
this was the place for which the rule had been designed. :-)

Bug: T119547
Change-Id: I46a1df1141c337b436e66872f1a8cdae026816cd
This commit is contained in:
James D. Forrester 2015-12-02 18:28:14 -08:00
parent dd79cc13b3
commit 3c9a361da0
2 changed files with 6 additions and 0 deletions

View file

@ -315,6 +315,8 @@ ve.ui.MWMediaDialog.prototype.initialize = function () {
label: ve.msg( 'visualeditor-dialog-media-type-border' )
} );
borderField.$element.addClass( 've-ui-mwMediaDialog-borderCheckbox' );
// Build type fieldset
this.typeFieldset.$element.append(
this.typeSelect.$element,

View file

@ -72,3 +72,7 @@
.ve-ui-mwMediaDialog-caption-fielset.oo-ui-labelElement.oo-ui-fieldsetLayout {
margin-top: 0;
}
.ve-ui-mwMediaDialog-borderCheckbox {
margin-top: 0.4em;
}