[wp-trac] [WordPress Trac] #10680: QuickPress loading graphic cleanup
WordPress Trac
wp-trac at lists.automattic.com
Mon Sep 28 04:56:40 UTC 2009
#10680: QuickPress loading graphic cleanup
---------------------------------+------------------------------------------
Reporter: janeforshort | Owner:
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 2.9
Component: UI | Version: 2.8.4
Severity: normal | Resolution: fixed
Keywords: quickpress, spinner |
---------------------------------+------------------------------------------
Changes (by bandonrandon):
* cc: bandonrandon (added)
* status: new => closed
* resolution: => fixed
Comment:
Hello,
This is my first attempt at trying to fix a wordpress bug. So if I did
this wrong let me know. I changed the file so that the spinner was moved
over to the right of the "QuickPress" text. I did so by changing
{{{
t = $('#quick-press').submit( function() {
$('#dashboard_quick_press h3').append( '<img
src="images/wpspin_light.gif" style="margin: 6px 0 0 0; vertical-align:
middle" />' );
$('#quick-press .submit input[type="submit"],
#quick-press .submit input[type="reset"]').attr('disabled','disabled');
}}}
to
{{{
t = $('#quick-press').submit( function() {
$('#dashboard_quick_press h3').append( '<img
src="images/wpspin_light.gif" style="margin: 0 0 0 6px; vertical-align:
middle;" />' );
$('#quick-press .submit input[type="submit"],
#quick-press .submit input[type="reset"]').attr('disabled','disabled');
}}}
the two problems I believe that were causing this issue were the margin
padding being on the right of the element not the left and the "vertical-
align:middle" not having a closing ";"
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10680#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list