Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Block - An image with its width set in pixels (px) is not responsive across breakpoints #3443

Open
malalacharm opened this issue Feb 18, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@malalacharm
Copy link

malalacharm commented Feb 18, 2025

Describe the bug

  • The image retains its fixed pixel width, leading to overflow or improper scaling on smaller screens
  • It does not adjust according to different breakpoints
  • Happens in editor
  • Happens in frontend

To Reproduce
Steps to reproduce the behavior:

  1. Add a page
  2. Add an Image Block
  3. Ensure that the width unit is in px
  4. See the error on editor: Check the Desktop, Tablet and Mobile views
  5. See the error on frontend: Check the Desktop, Tablet and Mobile views

Expected behavior
The image should resize responsively based on the screen size

Screenshots

image.block.px.mp4
@malalacharm malalacharm added the bug Something isn't working label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant