Skip to content

Commit d79903a

Browse files
tinayuangaojosephperrott
authored andcommitted
fix(chips): remove chip bottom margin in sibling chips (#8198)
1 parent 57c8f05 commit d79903a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/lib/chips/chips.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ $mat-chip-remove-margin-before: 6px;
77
$mat-chip-remove-margin-after: -4px;
88

99
$mat-chips-chip-margin: 8px;
10-
$mat-chips-chip-bottom-margin: 3px;
1110

1211
$mat-chip-input-width: 150px;
1312
$mat-chip-input-margin: 3px;
@@ -29,10 +28,10 @@ $mat-chip-input-margin: 3px;
2928

3029
// Apply a margin to adjacent sibling chips.
3130
& + & {
32-
margin: 0 0 $mat-chips-chip-bottom-margin $mat-chips-chip-margin;
31+
margin: 0 0 0 $mat-chips-chip-margin;
3332

3433
[dir='rtl'] & {
35-
margin: 0 $mat-chips-chip-margin $mat-chips-chip-bottom-margin 0;
34+
margin: 0 $mat-chips-chip-margin 0 0;
3635
}
3736
}
3837

0 commit comments

Comments
 (0)