Skip to content

Chip input: no margin between chips in multiple lines #8587

Closed
@merobal

Description

@merobal

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Have margin between chips in multiple lines.

What is the current behavior?

No margin between chips in multiple lines.

What are the steps to reproduce?

https://plnkr.co/edit/KTSz1LYLyD3NH34qLDUW?p=preview

What is the use-case or motivation for changing an existing behavior?

Design.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Latest.

Is there anything else we should know?

Caused by #8198
What about adding top margin for all chips (instead of bottom for sibling chips)?
https://plnkr.co/edit/ItBhfqt4WBqMp0dV6lTa?p=preview or https://plnkr.co/edit/iUoyB4rr49Aco3W1I9Ix?p=preview
(The angularjs version also has style margin: 8px 8px 0 0; for all chips.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4A relatively minor issue that is not relevant to core functionsarea: material/chips

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions