| 1 | |
| 2 | Replying to [comment:6 costdev]: |
| 3 | > The "squashed" preview occurs both when viewing the Theme Details `.theme-overlay iframe` and the Customizer `#customize-container iframe`. |
| 4 | > |
| 5 | > [https://github.com/WordPress/wordpress-develop/pull/2146 PR 2146] changes the width from `100%` to `100vw`. In doing so, a previously "squashed" preview (based on remaining available container space) becomes a "true" preview (based on the user's viewport width). |
| 6 | > |
| 7 | > As expected, this PR resolves the issue in both locations. |
| 8 | > |
| 9 | > Great work @shreyasikhar26! Marking with `commit` for final review. |
| 10 | Thank you for the appreciation.\\ |
| 11 | |
| 12 | Can we add css overflow to the parent of iframe (for which the width property is modified in the added patch), as current patch is not allowing to scroll new theme preview horizontally to see the complete content of the theme ? |