Skip to content

Commit 1cfff91

Browse files
committed
Small fixes w.r.t looks
1 parent b8fddba commit 1cfff91

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

src/dropdown/dropdown.component.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,7 @@ a {
4646
.search-container {
4747
padding: 0px 5px 5px 5px;
4848
}
49+
50+
.btn-color-onhover:hover {
51+
background-color: #e63757;
52+
}

src/dropdown/dropdown.component.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@
1616
</div>
1717
<input type="text" class="form-control" ssAutofocus [formControl]="filterControl" [placeholder]="texts.searchPlaceholder"
1818
class="form-control" style="border-top-left-radius: inherit; border-bottom-left-radius: inherit;"
19-
[ngStyle]="{'border-top-right': filterControl.value.length > 0 ? 'inherit' : null, 'border-bottom-right': filterControl.value.length > 0 ? 'inherit' : null}">
19+
[style.border-top-right-radius]="filterControl.value.length > 0 ? 'inherit' : null"
20+
[style.border-bottom-right-radius]="filterControl.value.length > 0 ? 'inherit' : null">
2021
<div class="input-group-append" *ngIf="filterControl.value.length>0">
21-
<button class="btn btn-outline-secondary" type="button" (click)="clearSearch($event)">
22+
<button class="btn btn-outline-secondary btn-color-onhover" type="button" (click)="clearSearch($event)" style="display: flex;">
2223
<i class="fe fe-x-circle" style="color: black;"></i>
2324
</button>
2425
</div>

0 commit comments

Comments
 (0)