mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 20:19:13 +00:00
Fix button focus bug
This commit is contained in:
@@ -52,6 +52,11 @@
|
||||
.sl-button__suffix ::slotted(:last-child) {
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
|
||||
// Clicks on icons shouldn't prevent the button from gaining focus
|
||||
::slotted(sl-icon) {
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user