Skip to content

Refactor Breadcrumbs component #18474

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

Merged
merged 1 commit into from
Dec 24, 2015
Merged

Refactor Breadcrumbs component #18474

merged 1 commit into from
Dec 24, 2015

Conversation

cvrebert
Copy link
Collaborator

@cvrebert cvrebert commented Dec 8, 2015

Use new .breadcrumb-item class instead of child selectors and li tag selectors, so as to no longer require the usage of <ol>-based markup.

Rename variables to follow naming conventions:

  • $breadcrumb-padding-vertical => $breadcrumb-padding-y
  • $breadcrumb-padding-horizontal => $breadcrumb-padding-x

Introduce new variable: $breadcrumb-item-padding

CC: @mdo for review

@cvrebert cvrebert added this to the v4.0.0-alpha.3 milestone Dec 8, 2015
@yasinkocak
Copy link

Ability to choose your own font in sass like FontAwesome and use his icon

@cvrebert
Copy link
Collaborator Author

cvrebert commented Dec 8, 2015

@yasinkocak That's out of scope for a mere refactoring.

@cvrebert
Copy link
Collaborator Author

Note to self: A migration guide entry needs to be added for this.

@cvrebert cvrebert self-assigned this Dec 11, 2015
Use new `.breadcrumb-item` class instead of child selectors and `li` tag selectors,
so as to no longer require the usage of `<ol>`-based markup.

Rename variables to follow naming conventions:
* $breadcrumb-padding-vertical => $breadcrumb-padding-y
* $breadcrumb-padding-horizontal => $breadcrumb-padding-x

Introduce new variable: $breadcrumb-item-padding

[skip sauce]
@cvrebert
Copy link
Collaborator Author

Wrote an entry in the migration guide.

@cvrebert cvrebert removed their assignment Dec 24, 2015
cvrebert added a commit that referenced this pull request Dec 24, 2015
Refactor Breadcrumbs component
@cvrebert cvrebert merged commit 6806102 into v4-dev Dec 24, 2015
@cvrebert cvrebert deleted the breadcrumbs-2.0 branch December 24, 2015 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants