#56097 closed defect (bug) (fixed)
Theme preview is bugged for all themes in the directory
Reported by: | superbthemescom | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 6.0.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Themes | Keywords: | |
Focuses: | ui, administration | Cc: |
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)
#2
@
2 years ago
The theme screenshot to the left seems also buggy, since there is a white border on the top of it
#3
@
2 years ago
This is helping:
.install-theme-info .theme-screenshot { margin: 0 0 15px 0; top: 10px;
Note: See
TracTickets for help on using
tickets.
Hi there, welcome to WordPress Trac! Thanks for the ticket.
Moving to 6.0.1, as this was introduced in [52647] / #54764.