From 185bc1242dac91c224a8b9ad52b8f688d09f23ea Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 28 Jan 2022 12:08:08 +0000 Subject: [PATCH] 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 --- 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 8aed203aec..893a4f9fbe 100644 --- a/src/wp-admin/css/themes.css +++ b/src/wp-admin/css/themes.css @@ -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; }