Skip to content

Commit 6f35b89

Browse files
Revert "fix(chips): remove chip bottom margin in sibling chips (#8198)"
This reverts commit d79903a.
1 parent 62e7c2b commit 6f35b89

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/lib/chips/chips.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ $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;
1011

1112
$mat-chip-input-width: 150px;
1213
$mat-chip-input-margin: 3px;
@@ -28,10 +29,10 @@ $mat-chip-input-margin: 3px;
2829

2930
// Apply a margin to adjacent sibling chips.
3031
& + & {
31-
margin: 0 0 0 $mat-chips-chip-margin;
32+
margin: 0 0 $mat-chips-chip-bottom-margin $mat-chips-chip-margin;
3233

3334
[dir='rtl'] & {
34-
margin: 0 $mat-chips-chip-margin 0 0;
35+
margin: 0 $mat-chips-chip-margin $mat-chips-chip-bottom-margin 0;
3536
}
3637
}
3738

0 commit comments

Comments
 (0)