Skip to content

Fix disappearing close button icon on interaction - #7823

Merged
javiereguiluz merged 1 commit into
EasyCorp:5.xfrom
axzx:patch-3
Sep 17, 2026
Merged

javiereguiluz merged 1 commit into
EasyCorp:5.xfrom
axzx:patch-3

Conversation

@axzx

@axzx axzx commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

The Bootstrap .btn-close icon is rendered using background-image. EasyAdmin’s hover, focus-visible, and active styles used the background shorthand property, which unintentionally reset that image and caused the close icon to disappear. This change replaces background with background-color for .btn-close interaction states. This preserves Bootstrap’s icon while retaining the intended hover and active background colors.

The Bootstrap .btn-close icon is rendered using background-image. EasyAdmin’s hover, focus-visible, and active styles used the background shorthand property, which unintentionally reset that image and caused the close icon to disappear.
This change replaces background with background-color for .btn-close interaction states. This preserves Bootstrap’s icon while retaining the intended hover and active background colors.
@javiereguiluz javiereguiluz added this to the 5.x milestone Sep 17, 2026
@javiereguiluz

Copy link
Copy Markdown
Collaborator

Thanks for fixing this bug Adam.

@javiereguiluz
javiereguiluz merged commit 27a1012 into EasyCorp:5.x Sep 17, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants