Skip to content

Fixes closable sl-alert can be closed on whole vertical area without visual indication#2375

Merged
claviska merged 2 commits intoshoelace-style:nextfrom
kirchsuSICKAG:fix/2374-only-allow-alert-closing-on-closeicon
Mar 11, 2025
Merged

Fixes closable sl-alert can be closed on whole vertical area without visual indication#2375
claviska merged 2 commits intoshoelace-style:nextfrom
kirchsuSICKAG:fix/2374-only-allow-alert-closing-on-closeicon

Conversation

@kirchsuSICKAG
Copy link
Contributor

This PR fixes the issue, that the area above, under and on the right side of the closable icon button of the alert, also closes the alert without visual indication.
This PR avoids the strechting of the close icon and uses margin instead of padding for the close icon, as otherwise the padding is used as part of the close icon.

Closes #2374

@vercel
Copy link

vercel bot commented Feb 13, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
shoelace ✅ Ready (Inspect) Visit Preview Feb 13, 2025 0:44am

Copy link
Member

@claviska claviska left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and works great. Thanks for the PR!

@claviska claviska merged commit e09277e into shoelace-style:next Mar 11, 2025
2 checks passed
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.

Closable sl-alert can be closed on whole vertical area without visual indication

2 participants