Automattic / themes

Free WordPress themes made by Automattic for WordPress.org and WordPress.com.
https://themeshaper.com
GNU General Public License v2.0
897 stars 356 forks source link

Assembler: VideoPress block not responsive on mobile #7737

Closed Robertght closed 6 months ago

Robertght commented 6 months ago

Quick summary

The VideoPress block is too large on mobile when used in a two-column setup.

Steps to reproduce

  1. Create a new page and add a two-column block
  2. Add some text on the left and a video on the right.

What you expected to happen

To see the video like this: nkbhhQ.png

What actually happened

Soab86.png

Browser

Google Chrome/Chromium

Context

8043043-zen

Platform (Simple, Atomic, or both?)

Atomic

Other notes

No response

Reproducibility

Consistent

Severity

Some (< 50%)

Available workarounds?

Yes, easy to implement

Workaround details

I used this as a workaround:

/* Mobile video fix | xxxxxx-zen rg */
@media (max-width: 768px){
 .jetpack-videopress-player__wrapper iframe {
    width: 100% !important;
 }
}
github-actions[bot] commented 6 months ago

Support References

This comment is automatically generated. Please do not edit it.

rickmgithub commented 6 months ago

📌 REPRODUCTION RESULTS

Message to author

Thanks so much for the report. I couldn't replicate the issue following those steps. Are you still able to produce this on a number of sites? Feel free to reopen if you can still replicate.