ONSdigital / design-system

ONS Design System
https://service-manual.ons.gov.uk/design-system
MIT License
31 stars 20 forks source link

Add top spacing to headings #1994

Open jrbarnes9 opened 2 years ago

jrbarnes9 commented 2 years ago

The DS and census website both add margin-top in their own overriding style sheets - but we should probably just add default top padding/margins to headings used within the main container so content is correctly spaced by default.

See an example of govuk frontend 'contextual adjustments': https://github.com/alphagov/govuk-frontend/blob/48d1a5230b470a49888d6e14ef7cef550a280e47/package/govuk/core/_typography.scss#L157

yatesn commented 2 years ago

Part of spacing work - not currently a priority

daniellecorke commented 4 months ago

Relates to #1934. Included this ticket in the typography work required on the UCD Board: https://jira.ons.gov.uk/browse/CU-64.

daniellecorke commented 4 months ago

This issue is currently parked on the UCD Board.