Skip to content

Bug: a single chip defaults to having a margin-left #4359

@willshowell

Description

@willshowell

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Single chips have no margin

What is the current behavior?

in dir=LTR

If there are two chips, the first has no left margin, and the second has no right margin.
However, a single chip has a left margin of 3px and no right margin.

What are the steps to reproduce?

http://plnkr.co/edit/1LocpntStWpV0BBI5OLj?p=preview

Motivation

When you are adding chips over time, the whole list jumps left 3px when chip count grows from 1 to 2.

Other

Due to the fallback for :last-child

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions