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

[4.x]: Asset thumbnails are not centered in asset field element thumbs #12682

Closed
mmikkel opened this issue Feb 15, 2023 · 2 comments
Closed

[4.x]: Asset thumbnails are not centered in asset field element thumbs #12682

mmikkel opened this issue Feb 15, 2023 · 2 comments
Assignees

Comments

@mmikkel
Copy link
Contributor

mmikkel commented Feb 15, 2023

What happened?

Description

Not sure when this started happening, but in recent 4.3.x versions asset thumbnails are no longer centered in element thumbs in asset fields:

CleanShot 2023-02-15 at 11 26 52@2x

It's only in asset fields, though – element thumbs in asset indexes seem fine:

CleanShot 2023-02-15 at 11 29 14@2x

Steps to reproduce

  1. Select an asset in an assets field, and select/focus it
  2. Note that the thumbnail isn't centered within the .elementhumb container

Expected behavior

Actual behavior

Craft CMS version

4.3.9

PHP version

No response

Operating system and version

macOS 12.6, observed on MS Edge 109.0.1518.78

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

None

@brandonkelly
Copy link
Member

Thanks for reporting that! Fixed for the next release.

@brandonkelly
Copy link
Member

brandonkelly commented Feb 17, 2023

Craft 4.3.10 is out with the fix for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants