When I use the field preview view mode as an entity display plugin configuration for the entity browser widget settings, I notice that the image appears in an inappropriate way.

The following patch should resolve the issue.
When I use the field preview view mode as an entity display plugin configuration for the entity browser widget settings, I notice that the image appears in an inappropriate way.

The following patch should resolve the issue.
Comments
Comment #2
muath khraisat commentedComment #3
muath khraisat commentedThe following patch is a better patch to show the image in a specific width.
Comment #4
rajab natshahThanks for reporting and the patch
I confirm the issue
We need to make sure that it will follow the behaviours as in the following issue:
#2893965: [Varbase Media] Enhanced media (image) widget field preview
Comment #5
rajab natshahI think the .contextual-region class was changing the style.
https://github.com/vardot/varbase_story_demo
Comment #7
rajab natshahComment #8
rajab natshahComment #9
rajab natshah