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(header): reset default ul styling directly in header navigation menus #4674

Merged
merged 3 commits into from
Nov 14, 2019
Merged

fix(header): reset default ul styling directly in header navigation menus #4674

merged 3 commits into from
Nov 14, 2019

Conversation

jendowns
Copy link
Contributor

@jendowns jendowns commented Nov 13, 2019

Closes #4673

This PR applies 3 missing style rules to the HeaderNavigation component's ul.bx--header__menu-bar & ul.bx--header__menu elements.

Currently the component relies on global reset rules to render correctly, but for consumers who don't use those global resets (like us), the ul.bx--header__menu-bar & ul.bx--header__menu elements still have padding, margins, and default list-style rules applied.

Changelog

New

  • add rules to reset default list styles for ul.bx--header__menu-bar & ul.bx--header__menu

@jendowns jendowns requested a review from a team as a code owner November 13, 2019 20:51
@ghost ghost requested review from aledavila and jnm2377 November 13, 2019 20:51
@jendowns jendowns changed the title fix(header): remove default ul styling from header navigation menu fix(header): reset default ul styling directly in header navigation menu Nov 13, 2019
@netlify
Copy link

netlify bot commented Nov 13, 2019

Deploy preview for carbon-elements ready!

Built with commit f9d3d2a

https://deploy-preview-4674--carbon-elements.netlify.com

@jendowns jendowns changed the title fix(header): reset default ul styling directly in header navigation menu fix(header): reset default ul styling directly in header navigation menus Nov 13, 2019
@netlify
Copy link

netlify bot commented Nov 13, 2019

Deploy preview for the-carbon-components ready!

Built with commit f9d3d2a

https://deploy-preview-4674--the-carbon-components.netlify.com

@asudoh asudoh requested a review from a team November 13, 2019 21:26
@ghost ghost requested review from aagonzales and removed request for a team November 13, 2019 21:26
@netlify
Copy link

netlify bot commented Nov 13, 2019

Deploy preview for carbon-components-react ready!

Built with commit f9d3d2a

https://deploy-preview-4674--carbon-components-react.netlify.com

Copy link
Member

@aagonzales aagonzales left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me!

Copy link
Contributor

@jnm2377 jnm2377 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@asudoh asudoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 - Thanks @jendowns!

@asudoh asudoh merged commit 8f48ec5 into carbon-design-system:master Nov 14, 2019
@jendowns jendowns deleted the 4673_header-navigation-ul branch November 15, 2019 15:09
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.

[HeaderNavigation] relies on global css reset for required <ul> menu resets
4 participants