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(filter): ensure the clear link is shown #276

Merged
merged 1 commit into from
Oct 26, 2021

Conversation

gregtyler
Copy link
Contributor

The parent font-size:0 rule was cascading to the clear link, meaning it wasn't shown. By adding an
explicit font size to it, we can ensure it is shown.

fixes #274

The parent `font-size:0` rule was cascading to the clear link, meaning it wasn't shown. By adding an
explicit font size to it, we can ensure it is shown.

BREAKING CHANGE: Clear links will now be shown on Filter components.

fix #274
Copy link
Contributor

@johnnolan johnnolan left a comment

Choose a reason for hiding this comment

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

Looks good, changelog will update and version to 1.0.0 will indicate for others.

Maybe also drop a note into the moj-design-system slack channel?

@gregtyler gregtyler merged commit 4c23cbd into main Oct 26, 2021
@gregtyler gregtyler deleted the fix-filter-clear-link-hidden branch October 26, 2021 13:07
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.

Clear filters anchor not visible (font size inherited to be 0)
2 participants