WordPress.org

Make WordPress Core

Ticket #29483: 29483.patch

File 29483.patch, 2.0 KB (added by iseulde, 5 years ago)
  • src/wp-admin/css/media.css

     
    513513        border: 4px dashed #bbb;
    514514}
    515515
    516 .media-frame.mode-grid .attachments,
    517 .media-frame.mode-select .attachments {
    518         padding: 2px;
    519 }
    520 
    521516.media-frame.mode-select .attachments-browser.fixed .attachments {
    522517        position: relative;
    523518        top: 94px; /* prevent jumping up when the toolbar becomes fixed */
     
    602597        margin-top: 0;
    603598}
    604599
    605 .media-frame.mode-grid .attachments-browser {
     600.media-frame.mode-grid .attachments-browser,
     601.media-frame.mode-grid .attachments-browser .attachments {
    606602        padding: 0;
    607603}
    608604
  • src/wp-includes/css/media-views.css

     
    748748 */
    749749.attachments {
    750750        margin: 0;
    751         padding: 8px;
    752751        -webkit-overflow-scrolling: touch;
    753752}
    754753
     
    10381037        margin: 11px 0;
    10391038}
    10401039
     1040.attachments-browser .attachments {
     1041        padding: 8px;
     1042}
     1043
    10411044.attachments-browser .attachments,
    10421045.attachments-browser .uploader-inline {
    10431046        position: absolute;
     
    25202523}
    25212524
    25222525.attachments[data-columns="3"] .attachment {
    2523         width: 33.3%;
     2526        width: 33.33%;
    25242527}
    25252528
    25262529.attachments[data-columns="4"] .attachment {
     
    25322535}
    25332536
    25342537.attachments[data-columns="6"] .attachment {
    2535         width: 16.6%;
     2538        width: 16.66%;
    25362539}
    25372540
    25382541.attachments[data-columns="7"] .attachment {
    2539         width: 14.2%;
     2542        width: 14.28%;
    25402543}
    25412544
    25422545.attachments[data-columns="8"] .attachment {
     
    25442547}
    25452548
    25462549.attachments[data-columns="9"] .attachment {
    2547         width: 11.1%;
     2550        width: 11.11%;
    25482551}
    25492552
    25502553.attachments[data-columns="10"] .attachment {
     
    25522555}
    25532556
    25542557.attachments[data-columns="11"] .attachment {
    2555         width: 9%;
     2558        width: 9.09%;
    25562559}
    25572560
    25582561.attachments[data-columns="12"] .attachment {
    2559         width: 8.3%;
     2562        width: 8.33%;
    25602563}