Skip to content

Commit

Permalink
PR25: add chips left and right icons css
Browse files Browse the repository at this point in the history
  • Loading branch information
bu3alwa committed Jul 2, 2023
1 parent 59716f2 commit a689a5d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions theme-base/components/input/_chips.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,27 @@
}
}

.p-chips-icon-left > i:first-of-type,
.p-chips-icon-left > svg:first-of-type {
left: nth($inputPadding, 2);
color: $inputIconColor;
}

.p-chips-icon-right > i:first-of-type,
.p-chips-icon-right > svg:first-of-type {
right: nth($inputPadding, 2);
color: $inputIconColor;
}

.p-chips-icon-left > .p-chips > .p-inputtext,
.p-chips-icon-left > label {
padding-left: nth($inputPadding, 2) * 2 + $primeIconFontSize;
}

.p-chips-icon-right > .p-chips > .p-inputtext{
padding-right: nth($inputPadding, 2) * 2 + $primeIconFontSize;
}

&.p-invalid.p-component > .p-inputtext {
@include invalid-input();
}
Expand Down

0 comments on commit a689a5d

Please sign in to comment.