-
-
Notifications
You must be signed in to change notification settings - Fork 899
Open
Labels
01 type: bug27 status: staleAn item that has not received updates in a long timeAn item that has not received updates in a long time
Description
Describe the bug
We have images with scales but we are not providing the proper sizes property. Browser choose appropriate image based on sizes provided and mentioined in srcset. We have srcset but we are not using the full potential here. I can say it is broken in some sense.
To Reproduce
Steps to reproduce the behavior:
- Create a image block
- Open developer tools and inspect image.
- Inspect image.
- You will the sizes propety is
100vwwhich means that give me image of viewport width since our viewport is bigger we always loads the biggest image.
Expected behavior
We should have correct sizes propety belongs to that blocks. Which will use the srcset propety properly.
Screenshots
For teaser block we are not even providing the sizes property.
For image block sizes is set to 100vw
@pnicolli can you please give your feedback regarding this issue?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
01 type: bug27 status: staleAn item that has not received updates in a long timeAn item that has not received updates in a long time