Make WordPress Core

Changeset 52647


Ignore:
Timestamp:
01/28/2022 12:08:08 PM (2 years ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/themes.css

    r52185 r52647  
    18061806.theme-install-overlay iframe {
    18071807    height: 100%;
    1808     width: 100%;
     1808    width: 100vw;
    18091809    z-index: 20;
    18101810    transition: opacity 0.3s;
Note: See TracChangeset for help on using the changeset viewer.