Make WordPress Core

Ticket #28883: 28883.6.diff

File 28883.6.diff, 1.9 KB (added by michalzuber, 11 years ago)

Added fix for mobile and without banner

  • src/wp-admin/css/common.css

     
    18461846        font-size: 30px;
    18471847        line-height: 50px;
    18481848        font-weight: bold;
    1849         max-width: 760px;
     1849        max-width: 730px;
    18501850        position: absolute;
    18511851        left: 20px;
    18521852        top: 145px;
    1853         padding: 0 15px;
    18541853        margin: 0;
    18551854        color: #fff;
    18561855        background: rgba( 30, 30, 30, 0.9 );
     
    18571856        text-shadow: 0 1px 3px rgba( 0, 0, 0, 0.4 );
    18581857        -webkit-box-shadow: 0 0 30px rgba( 255, 255, 255, 0.1 );
    18591858        box-shadow: 0 0 30px rgba( 255, 255, 255, 0.1 );
    1860         -webkit-border-radius: 8px;
    1861         border-radius: 8px;
     1859        -webkit-border-radius: 3px;
     1860        border-radius: 3px;
    18621861}
    18631862
     1863#plugin-information-title h2 span,
     1864#plugin-information-title.with-banner h2 span {
     1865        display: block;
     1866        margin: 0 15px;
     1867        overflow: hidden;
     1868        text-overflow: ellipsis;
     1869        max-width: 100%;
     1870}
     1871#plugin-information-title h2 span {
     1872        margin: 0;
     1873}
     1874
    18641875#plugin-information-title div.vignette {
    18651876        display: none;
    18661877}
     
    27862797                padding-top: 46px;
    27872798        }
    27882799
     2800        #plugin-information-title h2 {
     2801                max-width: 210px;
     2802        }
     2803
    27892804        /* Keep full-width boxes on Edit Post page from causing horizontal scroll */
    27902805        div#post-body.metabox-holder.columns-1 {
    27912806                overflow-x: hidden;
  • src/wp-admin/includes/plugin-install.php

     
    384384                <?php
    385385        }
    386386
    387         echo "<div id='{$_tab}-title' class='{$_with_banner}'><div class='vignette'></div><h2>{$api->name}</h2></div>";
     387        echo "<div id='{$_tab}-title' class='{$_with_banner}'><div class='vignette'></div><h2><span title='{$api->name}'>{$api->name}</span></h2></div>";
    388388        echo "<div id='{$_tab}-tabs' class='{$_with_banner}'>\n";
    389389
    390390        foreach ( (array) $api->sections as $section_name => $content ) {