Commit 21e084b
Site: actually center the Get-Started difficulty cards
The previous attempt added `justify-content: center` to .difficulty-grid
but the cards stayed pinned to the left of the section. Cause: the
shorthand `margin: 20px 0 32px` on the grid set both horizontal
margins to 0, silently overriding the `margin-left: auto;
margin-right: auto` from the `.section-alt > *` rule that does the
section-wide centering. So the grid was 1180 px wide pinned to the
section's left content edge instead of being centered, and `justify-
content: center` only centered the four cards inside an
already-left-aligned grid container.
Fix: replace the shorthand with `margin-top: 20px; margin-bottom: 32px`
so the inherited auto horizontal margins survive. The other grids on
this page (.feature-grid, .parents-grid, .pet-cards) already use only
`margin-top` for the same reason — this brings .difficulty-grid in
line with that pattern.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 1e79978 commit 21e084b
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
594 | 594 | | |
595 | 595 | | |
596 | 596 | | |
597 | | - | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
598 | 604 | | |
599 | 605 | | |
600 | 606 | | |
| |||
0 commit comments