From 8fa608877b8c7f63f398566fba211fbd9881e990 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 5 Jul 2022 15:34:04 +0000 Subject: [PATCH] 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 --- src/wp-admin/css/themes.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css index 6b598013a0..61e290fe86 100644 --- a/src/wp-admin/css/themes.css +++ b/src/wp-admin/css/themes.css @@ -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; }