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

Overflowing featured image in query block in tablet and mobile mode #1580

Closed
karlemilnikka opened this issue Dec 8, 2024 · 0 comments · Fixed by #1586
Closed

Overflowing featured image in query block in tablet and mobile mode #1580

karlemilnikka opened this issue Dec 8, 2024 · 0 comments · Fixed by #1586
Assignees
Labels
bug Bugs, unexpected and weird behaviors Low Effort
Milestone

Comments

@karlemilnikka
Copy link

Description

Featured images in the query block are neither contained nor scaled (like in desktop mode) in the block editor. The images overflow and overlap due to being rendered full size.

Steps to reproduce

  1. Install a fresh WordPress site with GeneratePress or Astra as the theme.
  2. Install GenerateBlocks 2.0 beta 3 and GenerateBlocks Pro 2.0 beta 3.
  3. Add two posts with a featured image (e.g. 1920 px in width).
  4. Create a new page, insert the query block, choose ”two columns & featured image” as the layout to start with.
  5. Switch to tablet view or mobile view.

Expected behavior

The images are neither contained nor scaled like in desktop mode. The issue only affects the block editor (not the frontend).

Actual behavior

The images should behave like in desktop mode and on the frontend.

References:

generatepress_query_image_bug.mp4
@karlemilnikka karlemilnikka added the triage Awaiting review label Dec 8, 2024
@iansvo iansvo self-assigned this Dec 10, 2024
@iansvo iansvo added bug Bugs, unexpected and weird behaviors Low Effort and removed triage Awaiting review labels Dec 10, 2024
@iansvo iansvo added this to the 2.0.0 milestone Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs, unexpected and weird behaviors Low Effort
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants