Theme Twenty-Twenty Two issue in image block in styles option
Description
When we choose Image block we have the option in sidebar for styles If we choose any styles(Default, Rounded) that is reflected on image but in the sidebar that option of styles(Default, Rounded) is not seen properly.
Step-by-step reproduction instructions
Go to Image Block In the right side Go to Styles option (Default, Rounded) There is some issue. It is not looking perfectly I have attached the screenshot for better understanding
Screenshots, screen recording, code snippet
Environment info
WordPress Version : 5.9
Please confirm that you have searched existing issues in the repo.
No
Please confirm that you have tested with all plugins deactivated except Gutenberg.
No
Please see: https://github.com/WordPress/gutenberg/issues/38448#issuecomment-1027983082
So the issue is that the previews for Default and Rounded are not showing the full image?
It looks similar to an issue that was mentioned for the block patterns (https://github.com/WordPress/gutenberg/issues/37573#issuecomment-1020685935).
Hi @talldan
So the issue is that the previews for Default and Rounded are not showing the full image? Yes Exactly
heavily related: https://github.com/WordPress/gutenberg/issues/38473
With Gutenberg 12.5.4, the Styles show a nice preview on hover:
With just WordPress 5.9, I'm not able to replicate what you're describing:
Are others able to replicate this?
Help us move this issue forward. This issue is being marked stale since it has no activity after 15 days of requesting more information. Please add info requested so we can help move the issue forward. Note: The triage policy is to close stale issues that need more info and no response after 2 weeks.
I think we can close this ticket as the UI is proper in the latest release.