Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure documentation styles don't override examples #548

Merged
merged 1 commit into from
Aug 15, 2017

Conversation

gemmaleigh
Copy link
Contributor

Use a child combinator to ensure that only headings using the
.heading-xlarge class - page headings in GOV.UK elements - get
larger top margins and smaller bottom margins.

This margin was affecting the typography example, which shows an
example of using the .heading-xlarge class.

Screenshots

Before:

before - typography gov uk elements


After:

after - typography gov uk elements


What type of change is it?

  • Bug fix (non-breaking change which fixes an issue)

Use a child combinator to ensure that only headings using the
.heading-xlarge class, which are page headings in GOV.UK elements get
larger top margins and smaller bottom margins.

This margin was affecting the typography example, which shows an
example of heading-xlarge.
@gemmaleigh gemmaleigh temporarily deployed to govuk-elements-review-pr-548 August 15, 2017 10:32 Inactive
@gemmaleigh gemmaleigh merged commit dea6e7b into master Aug 15, 2017
@gemmaleigh gemmaleigh deleted the fix-heading-style branch August 15, 2017 14:29
@36degrees 36degrees mentioned this pull request Oct 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants