Skip to content

Commit 53a730d

Browse files
committed
PR25: add chips left and right icons css
1 parent 59716f2 commit 53a730d

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

theme-base/components/input/_chips.scss

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,24 @@
4141
@include invalid-input();
4242
}
4343
}
44+
45+
.p-chips-icon-left > i:first-of-type,
46+
.p-chips-icon-left > svg:first-of-type {
47+
left: nth($inputPadding, 2);
48+
color: $inputIconColor;
49+
}
50+
51+
.p-chips-icon-right > i:last-of-type,
52+
.p-chips-icon-right > svg:last-of-type {
53+
right: nth($inputPadding, 2);
54+
color: $inputIconColor;
55+
}
56+
57+
.p-chips-icon-left > .p-chips > .p-inputtext,
58+
.p-chips-icon-left > label {
59+
padding-left: nth($inputPadding, 2) * 2 + $primeIconFontSize;
60+
}
61+
62+
.p-chips-icon-right > .p-chips > .p-inputtext{
63+
padding-right: nth($inputPadding, 2) * 2 + $primeIconFontSize;
64+
}

0 commit comments

Comments
 (0)