WordPress.org

Make WordPress Core

Changeset 7964


Ignore:
Timestamp:
05/20/2008 07:57:38 PM (10 years ago)
Author:
ryan
Message:

Widget edit link layout fixes from mdawaffe. fixes #6371

Location:
trunk/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/widgets-rtl.css

    r7881 r7964  
    3030    margin-left:8px;
    3131}
     32h4.widget-title span {
     33    float: right;
     34}
    3235h4.widget-title a {
    33     right:auto;
    34     left:1em;
     36    float: left;
     37    margin: 0 1em 0 0;
    3538}
    3639li.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 {
     
    4649#dragHelper h4.widget-title {
    4750    text-align: right;
    48     padding: 0.4em 0.8em 0.4em 2.5em;
    4951}
  • trunk/wp-admin/css/widgets.css

    r7881 r7964  
    5050}
    5151
     52h4.widget-title span {
     53    float: left;
     54}
     55
     56h4.widget-title a {
     57    float: right;
     58    text-decoration: underline;
     59    border-bottom: none;
     60    margin-left: 1em;
     61}
     62
    5263ul#widget-list li.widget-list-item h4.widget-title {
    5364    position: relative;
     
    6071    -khtml-border-radius: 3px;
    6172    -webkit-border-radius: 3px;
    62     border-radius: 3px;;
     73    border-radius: 3px;
    6374}
    6475
     
    109120    cursor: move;
    110121    font-size: 13px;
    111     padding: 0.4em 2.5em 0.4em 0.8em;
     122    padding: 0.4em 0.8em;
    112123    position: relative;
    113124    -moz-border-radius: 3px;
     
    126137    float: left;
    127138    text-decoration: none;
    128 }
    129 
    130 h4.widget-title a {
    131     position: absolute;
    132     right: 1em;
    133     text-decoration: underline;
    134     border-bottom: none;
    135139}
    136140
  • trunk/wp-admin/includes/widgets.php

    r7962 r7964  
    103103            <h4 class="widget-title widget-draggable">
    104104
    105                 <?php echo $widget_title; ?>
     105                <span><?php echo $widget_title; ?></span>
    106106
    107107                <?php if ( 'add' == $action ) : ?>
     
    116116
    117117                <?php endif; ?>
     118
     119                <br class="clear" />
    118120
    119121            </h4>
     
    229231?>
    230232        <div class="widget-top">
    231         <h4 class="widget-title"><?php echo $widget_title ?>
     233        <h4 class="widget-title"><span><?php echo $widget_title ?></span>
    232234
    233235            <?php if ( $edit ) : ?>
     
    240242
    241243            <?php endif; ?>
     244
     245            <br class="clear" />
    242246
    243247        </h4></div>
Note: See TracChangeset for help on using the changeset viewer.