mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
12a4e60a4a
The active docs tab applied a 2px bottom border that inactive tabs lacked, which shrank the active label's content box and clipped its descenders. It also set `line-height: 1.5` only on the active label, so switching tabs nudged the text. Reserve the border as transparent on every tab and recolor it on the active one, and share the label `line-height`, so the letters are no longer cut and the label stays put when switching.