Themes: Revert the change of theme preview width on Add Themes screen.

The intention was for the preview ratio to remain accurate for the user's screen size when the sidebar is open, but this appears to have caused unintended side effects to the preview alignment.

Follow-up to [52647].

Props superbthemescom, Presskopp.
Fixes #56097. See #54764.

git-svn-id: https://develop.svn.wordpress.org/trunk@53663 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2022-07-05 15:34:04 +00:00
parent 6d63251316
commit 8fa608877b

View File

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