Original Bug title:
Icon-only-buttons broken in vector
broken by https://bits.wikimedia.org/static-1.22wmf4/resources/jquery.ui/themes/vector/jquery.ui.button.css
body .ui-button {
/*...*/
width: auto
/*...*/
}
which overwrites
button.ui-button-icon-only {
width: 2.4em
}
Test case (can be executed in a JS console):
$button = $('<button>').text('required but not visible').button({
icons: {
primary: "ui-icon-locked"
},
text: false
});
mw.util.$content.prepend($button);
Version: 1.22.0
Severity: minor