mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
b9cbc5fbbe
The `:not(.docs-card-container) .docs-card` selector was meant to give standalone cards a vertical margin, but no element has the docs-card-container class, so it matched every card. Cards in a grid without a header picked up the 1rem margin on top of the 1.25rem grid gap, leaving rows 52px apart while columns are 20px apart (for example on /reference/migrations, /guide/i18n and /roadmap). Apply the margin only to cards that are not direct children of a card grid.