Gallery Widget: Remove grey background behind gallery, and align images to the edge of the container.
Props Presskopp, benoitchantre, mrasharirfan. Fixes #42101. git-svn-id: https://develop.svn.wordpress.org/trunk@41833 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
725a161456
commit
f6d84dbe31
@ -96,7 +96,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.media-widget-control .media-widget-preview {
|
.media-widget-control .media-widget-preview {
|
||||||
background: #f1f1f1;
|
background: transparent;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.media-widget-control .media-widget-preview .notice {
|
.media-widget-control .media-widget-preview .notice {
|
||||||
@ -168,6 +168,7 @@
|
|||||||
-webkit-box-pack: start;
|
-webkit-box-pack: start;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
margin: -1.79104477%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.media-widget-preview.media_gallery,
|
.media-widget-preview.media_gallery,
|
||||||
@ -175,11 +176,18 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.media-widget-preview.media_image,
|
||||||
|
.media-widget-preview.media_audio,
|
||||||
|
.attachment-media-view {
|
||||||
|
background: #f1f1f1;
|
||||||
|
}
|
||||||
|
|
||||||
.media-widget-gallery-preview .gallery-item {
|
.media-widget-gallery-preview .gallery-item {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 1.79104477%;
|
padding: 1.79104477%;
|
||||||
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user