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:
Jb Audras
2022-04-16 06:13:11 +00:00
parent 23aa7715b0
commit dbb0e6345e
2 changed files with 19 additions and 1 deletions

View File

@@ -456,7 +456,9 @@ if ( $tab ) {
?>
</span>
<img class="theme-screenshot" src="{{ data.screenshot_url }}?ver={{ data.version }}" alt="" />
<div class="theme-screenshot">
<img class="theme-screenshot" src="{{ data.screenshot_url }}?ver={{ data.version }}" alt="" />
</div>
<div class="theme-details">
<# if ( data.rating ) { #>