Skip to content

Conversation

@JayGeorge
Copy link

Description of the Problem

There were some hover state gaps for the "Set Alt" badge as described in #13558
If you carefully hover very slowly between the alt badge and the outer edges of the asset tile, you can experience this.

What this PR Does

  • Prevent hover gaps using margin

Prevent duplicate borders by only showing them when the filename is present

Before, with duplicate borders

2026-01-16 at 11 19 21@2x

Prevent clipped corners caused by a combination of the checkerboard background and incorrect radius specificity

Before, with clipped corners

2026-01-16 at 11 20 37@2x

After, without duplicate borders and clipped corners fixed

2026-01-16 at 11 25 18@2x

How to Reproduce

  1. Asset fieldtype with grid view and show_filename turned off.

@JayGeorge JayGeorge linked an issue Jan 16, 2026 that may be closed by this pull request
@JayGeorge JayGeorge linked an issue Jan 16, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[6.x] Flickering buttons with "Set Alt" over image [6.x] Border in asset fieldtype in grid view

2 participants