Bundled Themes: Make sure new gallery widgets look good in themes
Twenty Ten: Reduces image size and removes image borders for galleries in widget areas. Twenty Eleven: Reduces image size and removes image borders for galleries in widget areas. Twenty Twelve: Reduces image size for some gallery sizes in widget areas. Twenty Thirteen: Ensure proper clearing for images, hide captions for some gallery column combos and ensure good display for galleries in widget areas. Twenty Fourteen: Ensure proper clearing for images and hide captions for some gallery column combos for galleries in widget areas. Twenty Seventeen: Hide captions for some gallery column combos for galleries in widget areas. Props joyously, williampatton, davidakennedy, melchoyce, crunnells. Fixes #41969. Built from https://develop.svn.wordpress.org/trunk@42019 git-svn-id: http://core.svn.wordpress.org/trunk@41853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4b5c9c9777
commit
7fd6f21b3d
12
style.css
12
style.css
|
@ -1465,6 +1465,18 @@ a.comment-edit-link:hover {
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
.widget-area .gallery-columns-2.gallery-size-full .gallery-icon img,
|
||||
.widget-area .gallery-columns-3.gallery-size-full .gallery-icon img,
|
||||
.widget-area .gallery-columns-4.gallery-size-full .gallery-icon img,
|
||||
.widget-area .gallery-columns-5.gallery-size-full .gallery-icon img,
|
||||
.widget-area .gallery-columns-6 .gallery-icon img,
|
||||
.widget-area .gallery-columns-7 .gallery-icon img,
|
||||
.widget-area .gallery-columns-8 .gallery-icon img,
|
||||
.widget-area .gallery-columns-9 .gallery-icon img {
|
||||
height: auto;
|
||||
max-width: 80%;
|
||||
}
|
||||
|
||||
/* =Plugins
|
||||
----------------------------------------------- */
|
||||
|
||||
|
|
Loading…
Reference in New Issue