Fix badge positioning for link buttons (#1463)

* Fix badge positioning for link buttons

* add changelog
This commit is contained in:
Lindsay M
2025-09-18 11:53:52 -04:00
committed by GitHub
parent 7e00d2b02e
commit 44142fb56d
2 changed files with 4 additions and 1 deletions

View File

@@ -10,6 +10,9 @@ Components with the <wa-badge variant="warning">Experimental</wa-badge> badge sh
## Next
- Fixed a bug in `<wa-button>` where slotted badges weren't properly positioned in buttons with an `href` [issue:1377]
- Fixed focus outline styles in `<wa-details>` and native `<details>` [issue:1456]
## 3.0.0-beta.6
- Fixed a bug in `<wa-dropdown>` that closed the dropdown event when preventing `wa-select` [issue:1432]

View File

@@ -262,7 +262,7 @@ wa-icon[part~='caret'] {
* Badges
*/
button ::slotted(wa-badge) {
.button ::slotted(wa-badge) {
border-color: var(--wa-color-surface-default);
position: absolute;
inset-block-start: 0;