Sandeep Kumar
Sandeep Kumar

Reputation: 2557

how to place mat-form-field and mat-chip-list in the same line?

I want to display one input field and one chip item side by side. But, chip is going to the next line. Is there any way I can place them side by side in the same row?

Current position:

Current position

Expected position:

Expected position

Upvotes: 2

Views: 7364

Answers (1)

KimCindy
KimCindy

Reputation: 1209

Try using below css on the div container..

.div-wrapper {
      display: flex;
      flex-flow: row;
      flex-wrap: wrap;
      justify-content: center; }

Upvotes: 8

Related Questions