[wp-trac] [WordPress Trac] #15180: Float Issue on Admin Widgets Page
WordPress Trac
wp-trac at lists.automattic.com
Thu Oct 21 05:46:27 UTC 2010
#15180: Float Issue on Admin Widgets Page
--------------------------+-------------------------------------------------
Reporter: InterTrade | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: 3.0.1
Severity: trivial | Keywords: widgets, dashboard, admin, float
--------------------------+-------------------------------------------------
When adding custom widgets with multiple line descriptions to the , the
widgets listed in the administration area of Wordpress, the repeated
floats on each of the widget controls can cause the display leave a blank
space where a widget control should be.
My recommendation is to place a clear float after every other widget.
For example, I resolved my issue by adding the following code to line 53
of the wp-admin/includes/widgets.php file:
<?php
if ((round($counter / 2, 0) * 2) == $counter) {
echo "<br style='clear: both; height: 0; font-size: 1px; line-height:
0px;' />";
}
?>
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15180>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list