https://bugzilla.wikimedia.org/show_bug.cgi?id=48593
Web browser: ---
Bug ID: 48593
Summary: Icon-only-buttons broken in vector
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: Unprioritized
Component: Skin and page rendering
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
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);
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l