Incorrect srcset for Media and Text Block #29880
Labels
[Block] Media & Text
Affects the Media & Text Block
[Feature] Media
Anything that impacts the experience of managing media
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
Description
The image in the media and text block on takes up half the viewport width until the breakpoint, so shouldn't the srcset be something more like (max-width: 768px) 100vw, 50vw. At the moment it seems to load the full size image even though the image is only in a 50% width column. It should only be 100vw after the mobile breakpoint. Is there a function I could add to change this until it can be fixed?
Step-by-step reproduction instructions
Add media and text block.
Expected behaviour
Srcset should be 50vw until mobile breakpoint
Actual behaviour
Image is loaded at full size
Screenshots or screen recording (optional)
Code snippet (optional)
WordPress information
Device information
The text was updated successfully, but these errors were encountered: