Skip to content

Commit 049bd97

Browse files
committed
refactor(material/chips): remove button is too small
Fixes lint errors from previous commit for Angular Components Chip component where the remove button touch target is too small, particularly for touch/mobile devices. Increases padding on all sides. Fixes b/286959517
1 parent 885eb1d commit 049bd97

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/material/chips/chip.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,8 +396,7 @@
396396
font-size: mdc-chip-theme.$trailing-action-size;
397397
box-sizing: content-box;
398398
}
399-
/** Increases mdc-dhip-remove trailing icon action touch-target
400-
in order to fix b/286959517. */
399+
//Increases mdc-dhip-remove trailing icon action touch-target in order to fix b/286959517
401400
&.mat-mdc-chip-trailing-icon.mdc-evolution-chip__action--trailing,
402401
&.mat-mdc-chip-trailing-icon.mdc-evolution-chip__icon--trailing {
403402
padding: 24px 12px;

0 commit comments

Comments
 (0)