Themes: Correct the width of theme preview on Add Themes screen.

This ensures that the preview ratio remains accurate for the user's screen size when the sidebar is open.

Follow-up to [19995], [20110], [20133], [20138], [28033].

Props shreyasikhar26, costdev, sumitsingh, SergeyBiryukov.
Fixes #54764.

git-svn-id: https://develop.svn.wordpress.org/trunk@52647 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2022-01-28 12:08:08 +00:00
parent 3cab15be94
commit 185bc1242d

View File

@ -1805,7 +1805,7 @@ body.full-overlay-active {
#customize-container iframe,
.theme-install-overlay iframe {
height: 100%;
width: 100%;
width: 100vw;
z-index: 20;
transition: opacity 0.3s;
}