Skip to content

Commit f23aab2

Browse files
authored
fix(chips): update chip padding to contain text padding (#17188)
* fix(chips): update chip padding to contain text padding * fix(chip): indigo padding * fix(chips): apply fixes on paddings * fix(chips): fix start/end gaps
1 parent 734f612 commit f23aab2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

projects/igniteui-angular/core/src/core/styles/components/chip/_chip-theme.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@
115115
)
116116
);
117117

118-
gap: sizable(rem(3px), rem(6px), rem(8px));
119118
color: var-get($theme, 'text-color');
120119
background: var-get($theme, 'background');
121120
border: $border-size solid var-get($theme, 'border-color');
@@ -410,6 +409,8 @@
410409
}
411410

412411
%igx-chip__start {
412+
gap: sizable(rem(3px), rem(6px), rem(8px));
413+
413414
> igx-avatar,
414415
> igx-circular-bar {
415416
&:first-child {
@@ -437,6 +438,8 @@
437438
}
438439

439440
%igx-chip__end {
441+
gap: sizable(rem(3px), rem(6px), rem(8px));
442+
440443
> igx-avatar,
441444
> igx-circular-bar {
442445
&:last-child {
@@ -490,6 +493,7 @@
490493
%igx-chip__content {
491494
@include ellipsis();
492495

496+
padding-inline: pad-inline(rem(3px), rem(6px), rem(8px));
493497
max-width: $chip-max-width;
494498

495499
&:empty {

0 commit comments

Comments
 (0)