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

fix: unset heading margin under heading element for level component #5355

Merged
merged 3 commits into from
Apr 11, 2022

Conversation

waabid
Copy link
Member

@waabid waabid commented Apr 11, 2022

Details

unset the margin for the new heading element.

Motivation

Fix for visual bug.

Context

Many components/products use this component so it made sense to make this a default behavior as this is what was previously expected. In the future we can manage this by passing through CSS classes if we wish to get these margins again.

Verified the fix worked in: automated checks (unified, web), needs review (unified, web) and tab stops (web).

Example of difference below.
Before:
image

After:
image

Pull request checklist

  • Addresses an existing issue: fix: unset heading margin under heading element for level component #5355
  • Ran yarn fastpass
  • Added/updated relevant unit test(s) (and ran yarn test)
  • Verified code coverage for the changes made. Check coverage report at: <rootDir>/test-results/unit/coverage
  • PR title AND final merge commit title both start with a semantic tag (fix:, chore:, feat(feature-name):, refactor:). See CONTRIBUTING.md.
  • (UI changes only) Added screenshots/GIFs to description above
  • (UI changes only) Verified usability with NVDA/JAWS

@waabid waabid requested a review from a team as a code owner April 11, 2022 20:10
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