Make WordPress Core

Changeset 41833


Ignore:
Timestamp:
10/11/2017 07:44:18 PM (7 years ago)
Author:
melchoyce
Message:

Gallery Widget: Remove grey background behind gallery, and align images to the edge of the container.

Props Presskopp, benoitchantre, mrasharirfan.
Fixes #42101.

File:
1 edited

Legend:

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

    r41711 r41833  
    9797
    9898.media-widget-control .media-widget-preview {
    99     background: #f1f1f1;
     99    background: transparent;
    100100    text-align: center;
    101101}
     
    169169    justify-content: flex-start;
    170170    flex-wrap: wrap;
     171    margin: -1.79104477%;
    171172}
    172173
     
    176177}
    177178
     179.media-widget-preview.media_image,
     180.media-widget-preview.media_audio,
     181.attachment-media-view {
     182    background: #f1f1f1;
     183}
     184
    178185.media-widget-gallery-preview .gallery-item {
    179186    box-sizing: border-box;
     
    181188    margin: 0;
    182189    padding: 1.79104477%;
     190    background: transparent;
    183191}
    184192
Note: See TracChangeset for help on using the changeset viewer.