Skip to content

Commit 4a68e87

Browse files
committed
fix(chips): remove margin for chip list
1 parent 7432ccc commit 4a68e87

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/lib/chips/chips.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ $mat-chip-remove-size: 18px;
3333
align-items: center;
3434
cursor: default;
3535

36-
.mat-chip-list-wrapper & {
37-
margin: $mat-chips-chip-margin;
38-
}
39-
4036
.mat-chip-remove.mat-icon {
4137
width: $mat-chip-remove-size;
4238
height: $mat-chip-remove-size;
@@ -125,6 +121,12 @@ $mat-chip-remove-size: 18px;
125121
flex-direction: row;
126122
flex-wrap: wrap;
127123
align-items: center;
124+
margin: -$mat-chips-chip-margin;
125+
126+
input.mat-input-element,
127+
.mat-standard-chip {
128+
margin: $mat-chips-chip-margin;
129+
}
128130
}
129131

130132
.mat-chip-list-stacked .mat-chip-list-wrapper {

0 commit comments

Comments
 (0)