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

[Breadcrumbs] Remove floats, add flex support #2065

Merged
merged 1 commit into from
Feb 1, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions packages/core/src/components/breadcrumbs/_breadcrumbs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,20 @@ Styleguide pt-breadcrumbs
$breadcrumb-line-height: $pt-icon-size-large - 1px !default;

.pt-breadcrumbs {
// ensure that the childrens' floats do not leak outside
display: inline-block;
display: flex;
flex-wrap: wrap;
align-items: center;
// unstyled inline list reset
margin: 0;
cursor: default;
height: $pt-input-height;
padding: 0;
list-style: none;
vertical-align: top;
line-height: $pt-input-height;

// descendant selector because nothig should come between ul and li
// descendant selector because nothing should come between ul and li
> li {
// hide whitespace between items from HTML
float: left;
display: flex;
align-items: center;

&::after {
@include pt-icon();
Expand Down