Skip to content

Commit

Permalink
Merge pull request #32 from melloware/melloware-patch-PR4716
Browse files Browse the repository at this point in the history
TreeSelect: showClear attribute
  • Loading branch information
cagataycivici authored Oct 14, 2023
2 parents 9d7b804 + 35b7031 commit 7c04b74
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion theme-base/components/input/_treeselect.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
@include focused-input();
}

&.p-treeselect-clearable {
.p-treeselect-label {
padding-right: nth($inputPadding, 2) + $primeIconFontSize;
}
}

.p-treeselect-label {
padding: $inputPadding;
transition: $formElementTransition;
Expand All @@ -40,6 +46,11 @@
border-top-right-radius: $borderRadius;
border-bottom-right-radius: $borderRadius;
}

.p-treeselect-clear-icon {
color: $inputIconColor;
right: $inputGroupAddOnMinWidth;
}

&.p-invalid.p-component {
@include invalid-input();
Expand Down Expand Up @@ -125,4 +136,4 @@
background-color: $inputFilledFocusBg;
}
}
}
}

0 comments on commit 7c04b74

Please sign in to comment.