[wp-trac] [WordPress Trac] #10840: Plugin upgrade sometimes shows a scrollbar

WordPress Trac noreply at wordpress.org
Sat Mar 2 18:53:26 UTC 2013


#10840: Plugin upgrade sometimes shows a scrollbar
----------------------------------------------+--------------------
 Reporter:  xibe                              |       Owner:
     Type:  defect (bug)                      |      Status:  new
 Priority:  low                               |   Milestone:  3.6
Component:  Plugins                           |     Version:  2.8.4
 Severity:  normal                            |  Resolution:
 Keywords:  ui-focus has-patch needs-testing  |
----------------------------------------------+--------------------

Comment (by dmcneillie):

 The iframe is set to a height of 170px and the p tag has a margin: 1em 0;
 causing the p of the iframe to exceed the height of the iframe it sits in.
 The overflow has been set to hidden, but it still generates the scroll bar
 because the p tag is taller than the iframe.

 The p {margin: 1em 0;} is a global style.

 I've got a fix on my local machine to line 81 of update.php

 iframe_header( __('Plugin Reactivation'), true );
                 if ( isset($_GET['success']) )
                         echo ''''<p style="margin:0;">'''' . __('Plugin
 reactivated successfully.') . '</p>';

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10840#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list