https://bugzilla.wikimedia.org/show_bug.cgi?id=34343

       Web browser: ---
             Bug #: 34343
           Summary: jQuery UI Button Icons do not display properly in
                    Monobook (causing a new line in the button)
           Product: MediaWiki
           Version: 1.18.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: Javascript
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


Created attachment 9989
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=9989
screenshot of the layoutbug +vector style-solution

MediaWiki 1.18wmf1 (r109351)

// generic
$selector.button({
    icons: {
         primary: "ui-icon-locked"
    }
})


// Test the following on
//
https://www.mediawiki.org/w/index.php?title=MediaWiki_1.19&useskin=monobook#footer
mw.loader.using('jquery.ui.button', function() {
$('<button>', { text: 'buttontext' }).button({
    icons: {
         primary: "ui-icon-locked"
    }
}).appendTo('#bodyContent')

});

Should look like this:
http://jqueryui.com/demos/button/#icons

But looks ... (see attachment)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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

Reply via email to