mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
efe1aae1cd
Inline code inside a link renders as a chip with its own background. Text decoration propagates from the anchor and cannot be cancelled by a descendant, so with the chip laid out as a regular inline box the link underline is drawn straight across it. Lay the chip out as an atomic inline box, which the propagated decoration is not drawn across. This applies to the link rule only; code outside of links keeps `display: inline` for wrapping in multiline paragraphs, and the link rule already sets `white-space: nowrap`.
11 KiB
11 KiB