#56097 closed defect (bug) (fixed)
Theme preview is bugged for all themes in the directory
| Reported by: | superbthemescom | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.0.1 |
| Component: | Themes | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | ui, administration |
Description
Originally reported in #meta6376.
Hi!
The preview is aligned right, and 20% of the content is missing in the view on all themes in the Wp.org directory.
Here's how you reproduce it:
- On a website with WordPress installed, go to the themes tab and click "Add new": /wp-admin/theme-install.php?browse=popular
- Pick any theme and click "Preview".
This bug doesn't occur on wp.org when clicking the preview button, only on websites with WordPress installed.
Can't figure how to upload images, but the bug is easy to replicate anyways.
The bug is caused by following CSS:
#customize-container iframe, .theme-install-overlay iframe {
width: 100vw;
}
Changing it to follow, fixes it:
#customize-container iframe, .theme-install-overlay iframe {
width: 100%;
}
Attachments (1)
Change History (7)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi there, welcome to WordPress Trac! Thanks for the ticket.
Moving to 6.0.1, as this was introduced in [52647] / #54764.