WordPress.org

Make WordPress Core

Ticket #6174: 6174.diff

File 6174.diff, 2.9 KB (added by mdawaffe, 6 years ago)
  • wp-admin/includes/dashboard.php

     
    388388                $post = preg_replace( '|.+?:(.+)|s', '$1', $item['title'] ); 
    389389                $link = clean_url($item['link']); 
    390390 
    391                 echo "\t<li><a href='$link'><span class='post'>$post</span><span class='hidden'> - </span><cite>$author</cite></a></li>\n"; 
     391                echo "\t<li><div><a href='$link'><span class='post'>$post</span><span class='hidden'> - </span><cite>$author</cite></a></div></li>\n"; 
    392392        } 
    393393 
    394394        echo "</ul>\n<br class='clear' />\n"; 
  • wp-admin/css/colors-classic.css

     
    334334        background-color: #ffc; 
    335335} 
    336336 
    337 #dashboard_secondary div.dashboard-widget-content ul li a { 
     337#dashboard_secondary div.dashboard-widget-content ul li div { 
    338338        background-color: #f9f9f9; 
    339339} 
    340340 
  • wp-admin/css/colors-fresh.css

     
    312312        background-color: #ffc; 
    313313} 
    314314 
    315 #dashboard_secondary div.dashboard-widget-content ul li a { 
     315#dashboard_secondary div.dashboard-widget-content ul li div { 
    316316        background-color: #f9f9f9; 
    317317} 
    318318 
  • wp-admin/css/dashboard.css

     
    186186        height: auto; 
    187187} 
    188188 
     189#dashboard_secondary div.dashboard-widget-content { 
     190        margin: 10px 5px; 
     191        padding: 0; 
     192} 
     193 
    189194#dashboard_secondary div.dashboard-widget-content ul { 
    190195        list-style: none; 
    191196        padding: 0; 
     
    198203        margin: 0; 
    199204        float: left; 
    200205        font-size: 95%; 
     206        overflow:hidden; 
    201207} 
    202208 
    203 #dashboard_secondary div.dashboard-widget-content { 
    204         margin: 10px 5px; 
    205         padding: 0; 
     209#dashboard_secondary div.dashboard-widget-content ul li div { 
     210        margin: 5px 10px; 
     211        padding: .5em; 
     212        overflow:hidden; 
     213        border-right: 1px solid #dadada; 
     214        border-bottom: 1px solid #dadada; 
    206215} 
    207216 
    208217#dashboard_secondary div.dashboard-widget-content ul li .post { 
     
    210219        font-family:Georgia,"Times New Roman",Times,serif; 
    211220        font-size:18px; 
    212221        line-height: 1.2em; 
    213         height:90px; 
     222        height:5em; 
    214223        overflow:hidden; 
    215224} 
    216225 
    217226#dashboard_secondary div.dashboard-widget-content ul li a { 
    218227        display: block; 
    219         height:100%; 
     228        height:10em; 
     229        width: 100%; 
    220230        overflow:hidden; 
    221         margin: 5px 10px; 
    222231        text-decoration: none; 
    223         padding: .5em; 
    224         border-right: 1px solid #dadada; 
    225         border-bottom: 1px solid #dadada; 
    226232} 
    227233 
    228234#dashboard_secondary div.dashboard-widget-content ul li a cite { 
    229235        display: block; 
     236        white-space: nowrap; 
    230237        font-family: "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif; 
    231238} 
    232239