Making WordPress.org

Opened 20 months ago

Closed 20 months ago

Last modified 20 months ago

#6376 closed defect (bug) (reported-upstream)

Theme preview is bugged for all themes in the directory

Reported by: superbthemescom's profile superbthemescom Owned by:
Milestone: Priority: high
Component: Theme Directory Keywords:
Cc:

Description

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:

  1. On a website with WordPress installed, go to the themes tab and click "Add new": /wp-admin/theme-install.php?browse=popular
  2. 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%;
}

Change History (4)

This ticket was mentioned in Slack in #meta by joyously. View the logs.


20 months ago

#3 @tellyworth
20 months ago

  • Resolution set to reported-upstream
  • Status changed from new to closed

Closing since this is best handled in the core ticket linked by @joyously.

#4 @SergeyBiryukov
20 months ago

Hi there, welcome to WordPress Meta Trac! Thanks for the ticket.

As the ticket linked above was closed on a completed milestone, I've transferred this report to a new one: #WP56097, let's continue there.

Note: See TracTickets for help on using tickets.