WordPress.org

Make WordPress Core

Ticket #5750: 5750d.diff

File 5750d.diff, 1.7 KB (added by mdawaffe, 10 years ago)

fix "right now". FF, Safari, IE

  • wp-admin/css/dashboard.css

     
    66
    77#rightnow .reallynow {
    88        background: #d54e21;
    9         padding: 12px;
     9        padding: 6px;
    1010        color: #fff;
    1111        font-size: 15px;
     12        line-height: 2;
    1213        margin: 0;
    1314}
    1415
    1516#rightnow .rbutton {
    1617        background: #ebebeb;
    1718        -moz-border-radius: 5px;
    18         padding: 6px;
    1919        font-weight: normal;
    2020        color: #264761;
     21        padding: 6px;
    2122        border-bottom: none;
    2223}
    2324
     25#rightnow .reallynow span {
     26        display: block;
     27        text-align: left;
     28        float: left;
     29        padding: 0 6px;
     30}
     31
    2432#rightnow .reallynow a {
     33        display: block;
     34        text-align: right;
    2535        float: right;
    26         margin-left: 5px;
     36        padding: 0 6px;
    2737        font-size: 14px;
    28         margin-top: -24px;
     38        margin: 1px 6px 0 0;
    2939}
    3040
    3141#rightnow .youhave {
     
    6979}
    7080
    7181div.dashboard-widget-holder.double div.dashboard-widget {
    72         height: 53em;
     82        height: 52em;
    7383        padding-bottom: 28px /* lame */
    7484}
    7585
  • wp-admin/index.php

     
    3939<h2><?php _e('Dashboard'); ?></h2>
    4040
    4141<div id="rightnow">
    42 <h3 class="reallynow"><?php _e('Right Now'); ?> <a href="post-new.php" class="rbutton"><?php _e('Write a New Post'); ?></a> <a href="page-new.php" class="rbutton"><?php _e('Write a New Page'); ?></a></h3>
     42<h3 class="reallynow"><span><?php _e('Right Now'); ?></span> <a href="post-new.php" class="rbutton"><?php _e('Write a New Post'); ?></a> <a href="page-new.php" class="rbutton"><?php _e('Write a New Page'); ?></a><br class="clear" /></h3>
    4343
    4444<?php
    4545$num_posts = wp_count_posts( 'post' );