Commit 43987a4
committed
style(docs): Vertically align badge with code text in {tool} links
why: Badge sat slightly higher/lower than the adjacent code element
inside {tool} cross-reference links.
what:
- Add vertical-align: middle to both .sd-badge and code inside
a.reference:has(.sd-badge)
- No inline-flex on the <a> — avoids inflating line box height1 parent b48987d commit 43987a4
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
335 | 340 | | |
336 | 341 | | |
337 | 342 | | |
| |||
0 commit comments