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.
Merges [53663] to the 6.0 branch.
Fixes #56097. See #54764.

git-svn-id: https://develop.svn.wordpress.org/branches/6.0@53664 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2022-07-05 15:36:19 +00:00
parent 42fe3a7b5b
commit 340966a8c1

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;
}