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.
Screenshot
The following patch should resolve the issue.

Comments

Muath Khraisat created an issue. See original summary.

muath khraisat’s picture

Issue summary: View changes
muath khraisat’s picture

The following patch is a better patch to show the image in a specific width.

rajab natshah’s picture

Thanks 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

rajab natshah’s picture

I think the .contextual-region class was changing the style.

field preview form view mode Edit Story Test Story

https://github.com/vardot/varbase_story_demo

composer require vardot/varbase_story_demo:dev-8.x-6.x

rajab natshah’s picture

Version: 8.x-6.0 » 8.x-6.x-dev
Assigned: Unassigned » mohammed j. razem
Issue tags: +varbase-8.6.3
rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned
rajab natshah’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.