[wp-meta] [Making WordPress.org] #6376: Theme preview is bugged for all themes in the directory

Making WordPress.org noreply at wordpress.org
Sun Jun 26 09:55:20 UTC 2022


#6376: Theme preview is bugged for all themes in the directory
-----------------------------+--------------------
 Reporter:  superbthemescom  |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  high             |  Milestone:
Component:  Theme Directory  |   Keywords:
-----------------------------+--------------------
 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%;
 }

 }}}

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/6376>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list