Skip to content

Commit

Permalink
white lableing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyle authored and Fyle committed Feb 13, 2024
1 parent 8a443bf commit 5b455f6
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<ng-template pTemplate="filter" let-options="options">
<div class="p-inputgroup">
<div class="p-input-icon-left">
<i class="pi pi-search"></i>
<input type="text" class="!tw-h-32-px !tw-w-260-px"
<i class="pi pi-search" [ngClass]="{'!tw-text-search-focused-search-icon': isSearchFocused}"></i>
<input type="text" class="!tw-h-32-px !tw-w-260-px" (focus)="isSearchFocused = true" (blur)="isSearchFocused = false"
(keyup)="options.filter($event)" pInputText />
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ td {

:host ::ng-deep .p-datatable .p-datatable-tbody > tr > td {
@apply tw-text-sub-text-color tw-text-14-px tw-font-400 tw-py-14-px tw-px-22-px tw-border-t tw-border-b-0 tw-border-t-box-color #{!important};
}
}

:host ::ng-deep .p-datatable .p-datatable-thead > tr > th {
:host ::ng-deep .p-datatable .p-datatable-thead > tr > th {
@apply tw-text-text-primary tw-text-12-px tw-font-500 tw-py-12-px tw-px-22-px tw-border tw-border-box-color tw-bg-disabled-bg-color #{!important}
}
}

:host ::ng-deep .p-datatable .p-datatable-tbody > tr > td > button {
:host ::ng-deep .p-datatable .p-datatable-tbody > tr > td > button {
@apply tw-pl-48-px #{!important};
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ export class GenericMappingTableComponent implements OnInit {

@Input() isDashboardMappingResolve: boolean;

isSearchFocused: boolean;

readonly brandingFeatureConfig = brandingFeatureConfig;

constructor(
Expand Down
2 changes: 1 addition & 1 deletion src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ p {
}

.p-inputtext:enabled:focus-visible {
@apply tw-shadow-none tw-border-faded-text-color #{!important};
@apply tw-shadow-none tw-border-select-default-border #{!important};
}

// Tooltip
Expand Down

0 comments on commit 5b455f6

Please sign in to comment.