mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-27 16:04:31 +00:00
Themes: Use consistent thumbnail sizes in Customizer preview screen.
This ensures displaying theme thumbnails in consistent sizes in Customizer theme preview. Props poena, karpstrucking, costdev, audrasjb. Fixes #54188. git-svn-id: https://develop.svn.wordpress.org/trunk@53191 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1852,6 +1852,22 @@ body.full-overlay-active {
|
||||
margin: 15px 0;
|
||||
width: 258px;
|
||||
border: 1px solid #c3c4c7;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.install-theme-info .theme-screenshot > img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.install-theme-info .theme-screenshot:after {
|
||||
content: "";
|
||||
display: block;
|
||||
padding-top: 66.66666666%;
|
||||
}
|
||||
|
||||
.install-theme-info .theme-details {
|
||||
|
||||
Reference in New Issue
Block a user