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

BUG: Breadcrumb items as button #566

Closed
francisrupert opened this issue Feb 8, 2022 · 1 comment
Closed

BUG: Breadcrumb items as button #566

francisrupert opened this issue Feb 8, 2022 · 1 comment

Comments

@francisrupert
Copy link
Contributor

francisrupert commented Feb 8, 2022

Description

Breadcrumbs currently assume each item is an <a>, but may alternately be a <button>. However undesirable styles (e.g. padding, background, etc) are inherited.

Solution

Unset inherited button styles, ensuring each item works as a <a> or <button>.

Like just need to add @include reset-button(); to .fsa-breadcrumb__link (approx at _fsa.breadcrumb.scss#L64)

Screenshot of Bug

image

@whatnextjamie
Copy link
Contributor

whatnextjamie commented Aug 16, 2022

Added "Buttons" example to fsa-style kitchen sink after adding reset-button(): to .fsa-breadcrumb__link

breadcrumb as button after

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants