mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit fixes the placement of the TOC hover/active markers (dots) so that they are horizontally in the middle of the marker "rail" and vertically in the middle of the item's first line. This commit also refactors the `_toc.scss` to be more DRY (wrt styling the TOC markers/marker rail) and uses Sass variables and mixins to ensure that the styling is kept up-to-date wrt future typography changes to TOC items. Before: ![toc marker before][1] After: ![toc marker after][2] [1]: https://user-images.githubusercontent.com/8604205/107270751-03e3f400-6a54-11eb-9d77-5b0a3cfb1c2b.png [2]: https://user-images.githubusercontent.com/8604205/107270758-047c8a80-6a54-11eb-82c0-98b832c109a3.png PR Close #40802 |
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| environments | ||
| extra-files | ||
| styles | ||
| testing | ||
| 404-body.html | ||
| google385281288605d160.html | ||
| index.html | ||
| main.ts | ||
| noop-worker-basic.js | ||
| polyfills.ts | ||
| pwa-manifest.json | ||
| test.ts | ||