diff --git a/wp-admin/css/widgets-rtl.css b/wp-admin/css/widgets-rtl.css index 69c877c193..0bd4af6022 100644 --- a/wp-admin/css/widgets-rtl.css +++ b/wp-admin/css/widgets-rtl.css @@ -29,9 +29,12 @@ ul#widget-list li.widget-list-item div.widget-description { margin-right:0; margin-left:8px; } +h4.widget-title span { + float: right; +} h4.widget-title a { - right:auto; - left:1em; + float: left; + margin: 0 1em 0 0; } li.widget-list-control-item h4.widget-title a, #dragHelper li.widget-list-control-item h4.widget-title a, #draghelper li.widget-list-control-item h4.widget-title a:visited { right:auto; @@ -45,5 +48,4 @@ ul.widget-control-list div.widget-control-actions { ul.widget-control-list h4.widget-title, #dragHelper h4.widget-title { text-align: right; - padding: 0.4em 0.8em 0.4em 2.5em; } \ No newline at end of file diff --git a/wp-admin/css/widgets.css b/wp-admin/css/widgets.css index baeb851bcf..172f0451f5 100644 --- a/wp-admin/css/widgets.css +++ b/wp-admin/css/widgets.css @@ -49,6 +49,17 @@ ul#widget-list li.widget-list-item { line-height: 1; } +h4.widget-title span { + float: left; +} + +h4.widget-title a { + float: right; + text-decoration: underline; + border-bottom: none; + margin-left: 1em; +} + ul#widget-list li.widget-list-item h4.widget-title { position: relative; margin: 0; @@ -59,7 +70,7 @@ ul#widget-list li.widget-list-item h4.widget-title { -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; - border-radius: 3px;; + border-radius: 3px; } #dragHelper h4.widget-title { @@ -108,7 +119,7 @@ li.widget-sortable h4 { margin: 0; cursor: move; font-size: 13px; - padding: 0.4em 2.5em 0.4em 0.8em; + padding: 0.4em 0.8em; position: relative; -moz-border-radius: 3px; -khtml-border-radius: 3px; @@ -127,13 +138,6 @@ li.widget-sortable h4 { text-decoration: none; } -h4.widget-title a { - position: absolute; - right: 1em; - text-decoration: underline; - border-bottom: none; -} - li.widget-list-control-item h4.widget-title a, #dragHelper li.widget-list-control-item h4.widget-title a, #draghelper li.widget-list-control-item h4.widget-title a:visited { diff --git a/wp-admin/includes/widgets.php b/wp-admin/includes/widgets.php index 09936b729e..58626a7205 100644 --- a/wp-admin/includes/widgets.php +++ b/wp-admin/includes/widgets.php @@ -102,7 +102,7 @@ function wp_list_widgets( $show = 'all', $_search = false ) {