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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use <h2> instead of <div> on Subhead-heading docs #1953

Merged
merged 1 commit into from Feb 24, 2022

Conversation

hectahertz
Copy link
Contributor

What are you trying to accomplish?

Default to h2 elements instead of using div on the Subhead-heading docs to avoid unintentional mistakes when copying code from those examples.

No visual changes.

Before

Screen Shot 2022-02-24 at 15 35 21

After

Screen Shot 2022-02-24 at 15 35 17

Are additional changes needed?

  • No, this PR should be ok to ship as is. 馃殺

@hectahertz hectahertz requested a review from a team as a code owner February 24, 2022 14:36
@changeset-bot
Copy link

changeset-bot bot commented Feb 24, 2022

馃 Changeset detected

Latest commit: a0b6ff1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/css Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@hectahertz hectahertz merged commit 3a91a29 into main Feb 24, 2022
@hectahertz hectahertz deleted the hectahertz/subhead-heading-div-to-h2 branch February 24, 2022 16:13
@primer-css primer-css mentioned this pull request Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants