Make WordPress Core

Changeset 29687


Ignore:
Timestamp:
09/03/2014 06:27:34 AM (10 years ago)
Author:
helen
Message:

Media: Better padding for attachment items.

props avryl.
fixes #29085.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/media.css

    r29674 r29687  
    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;
     
    605600.media-frame.mode-grid .attachments-browser {
    606601    padding: 0;
     602}
     603
     604.media-frame.mode-grid .attachments-browser .attachments {
     605    padding: 2px;
    607606}
    608607
  • trunk/src/wp-includes/css/media-views.css

    r29686 r29687  
    749749.attachments {
    750750    margin: 0;
    751     padding: 8px;
    752751    -webkit-overflow-scrolling: touch;
    753752}
     
    10371036.attachments-browser .media-toolbar-secondary > .media-button-group {
    10381037    margin: 11px 0;
     1038}
     1039
     1040.attachments-browser .attachments {
     1041    padding: 2px 8px 8px;
    10391042}
    10401043
     
    25212524
    25222525.media-frame-content[data-columns="3"] .attachment {
    2523     width: 33.3%;
     2526    width: 33.33%;
    25242527}
    25252528
     
    25332536
    25342537.media-frame-content[data-columns="6"] .attachment {
    2535     width: 16.6%;
     2538    width: 16.66%;
    25362539}
    25372540
    25382541.media-frame-content[data-columns="7"] .attachment {
    2539     width: 14.2%;
     2542    width: 14.28%;
    25402543}
    25412544
     
    25452548
    25462549.media-frame-content[data-columns="9"] .attachment {
    2547     width: 11.1%;
     2550    width: 11.11%;
    25482551}
    25492552
     
    25532556
    25542557.media-frame-content[data-columns="11"] .attachment {
    2555     width: 9%;
     2558    width: 9.09%;
    25562559}
    25572560
    25582561.media-frame-content[data-columns="12"] .attachment {
    2559     width: 8.3%;
    2560 }
     2562    width: 8.33%;
     2563}
Note: See TracChangeset for help on using the changeset viewer.