Skip to content

Commit

Permalink
[ACS-7631] Fix broken filters (#3735)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomson7777 authored Mar 27, 2024
1 parent 8874c16 commit 2e02562
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
>
<mat-icon class="app-search-input-control-icon app-search-button-icon" [attr.aria-label]="'SEARCH.BUTTON.ARIA-LABEL' | translate">search</mat-icon>
</button>
<mat-form-field class="app-input-form-field" [floatLabel]="'auto'">
<mat-form-field class="app-input-form-field" floatLabel="auto">
<input
matInput
#searchInput
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,20 @@ $top-margin: 12px;
}
}

.mat-mdc-form-field-flex {
background: #fff;
}

.mat-mdc-text-field-wrapper {
background-color: var(--theme-search-background-color);
height: 44px;
padding-left: 0;
}

.app-input-form-field-readonly {
.mat-mdc-text-field-wrapper,
.mat-mdc-form-field-flex {
background-color: var(--theme-search-background-color);
}
}

.app-search-button {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
<button mat-icon-button class="app-search-button" (click)="searchByOption()" [title]="'SEARCH.BUTTON.TOOLTIP' | translate">
<mat-icon [attr.aria-label]="'SEARCH.BUTTON.ARIA-LABEL' | translate">search</mat-icon>
</button>
<mat-form-field class="app-input-form-field" [floatLabel]="'auto'">
<mat-form-field class="app-input-form-field app-input-form-field-readonly" [floatLabel]="'auto'">
<input
matInput
[attr.aria-label]="'SEARCH.INPUT.ARIA-LABEL' | translate"
class="app-input-form-field-input"
[type]="'text'"
[disabled]="true"
[readonly]="true"
[value]="searchedWord"
[placeholder]="'SEARCH.INPUT.PLACEHOLDER' | translate"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ $top-margin: 12px;

&-input {
caret-color: var(--theme-text-color);

&:disabled {
color: var(--theme-text-color);
}
}
}

Expand All @@ -44,7 +40,8 @@ $top-margin: 12px;
}
}

.app-search-options-menu {
/* stylelint-disable-next-line */
.app-search-options-menu.mat-mdc-menu-panel {
background-color: var(--theme-dialog-background-color);
width: $search-width;
max-width: unset;
Expand Down

0 comments on commit 2e02562

Please sign in to comment.