Commit 466a50d
authored
Fix icon vertical alignment in alert component (#4823)
* Fix icon vertical alignment in alert component
Use `block` on the icon span to remove inline line-box descender space,
and derive flex alignment from whether a header is present: `items-center`
for single-line alerts, `items-start` for multi-line alerts with a header.
* update changelog
* Adds issue to changelog
* updates changelog1 parent c1bc757 commit 466a50d
2 files changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
128 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
0 commit comments