Commit 8199b10
authored
fix(components): update close button focus styles (#6939)
## 📄 Description
Add focus style to the `post-closebutton` component so that it is
properly styled when used in a shadow DOM.
## 🚀 Demo
Before:
<img width="1442" height="472" alt="image"
src="https://github.com/user-attachments/assets/b31d6d24-84b4-42d7-ae71-14c4277e5050"
/>
After:
<img width="1442" height="472" alt="image"
src="https://github.com/user-attachments/assets/ae2bc557-014b-4cad-95f2-8e4bdc3197b4"
/>
---
## 🔮 Design review
- [ ] Design review done
- [x] No design review needed
## 📝 Checklist
- ✅ My code follows the style guidelines of this project
- 🛠️ I have performed a self-review of my own code
- 📄 I have made corresponding changes to the documentation
- 1 parent b7acf67 commit 8199b10
File tree
2 files changed
+7
-0
lines changed- .changeset
- packages/components/src/components/post-closebutton
2 files changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
0 commit comments