From 53a730d124e2e9d6231b73c2737a8b4e61ed5187 Mon Sep 17 00:00:00 2001 From: Ali Ali Date: Sun, 2 Jul 2023 00:55:36 -0400 Subject: [PATCH] PR25: add chips left and right icons css --- theme-base/components/input/_chips.scss | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/theme-base/components/input/_chips.scss b/theme-base/components/input/_chips.scss index f61315c..1a7e1d5 100644 --- a/theme-base/components/input/_chips.scss +++ b/theme-base/components/input/_chips.scss @@ -41,3 +41,24 @@ @include invalid-input(); } } + +.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:last-of-type, +.p-chips-icon-right > svg:last-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; +} \ No newline at end of file