style(audit-trails): align search filters inside one box layout (#2904)

This commit is contained in:
Shubham Kumar
2025-12-15 12:37:08 -06:00
committed by GitHub
parent e9376f6305
commit b2abb26904
2 changed files with 131 additions and 108 deletions
@@ -5,7 +5,9 @@
</button> </button>
</div> </div>
<div class="container layout-row-wrap gap-8px responsive-column"> <mat-card class="container audit-filters-card">
<mat-card-content>
<div class="layout-row-wrap gap-8px responsive-column">
<mat-form-field class="flex-48"> <mat-form-field class="flex-48">
<mat-label>{{ 'labels.inputs.Resource ID' | translate }}</mat-label> <mat-label>{{ 'labels.inputs.Resource ID' | translate }}</mat-label>
<input matInput [formControl]="resourceId" /> <input matInput [formControl]="resourceId" />
@@ -101,7 +103,14 @@
<mat-form-field class="flex-38"> <mat-form-field class="flex-38">
<mat-label>{{ 'labels.inputs.Time' | translate }}</mat-label> <mat-label>{{ 'labels.inputs.Time' | translate }}</mat-label>
<input matInput type="time" step="1" [formControl]="checkedFromTime" placeholder="HH:MM:SS" class="time-input" /> <input
matInput
type="time"
step="1"
[formControl]="checkedFromTime"
placeholder="HH:MM:SS"
class="time-input"
/>
</mat-form-field> </mat-form-field>
</div> </div>
@@ -122,10 +131,19 @@
<mat-form-field class="flex-38"> <mat-form-field class="flex-38">
<mat-label>{{ 'labels.inputs.Time' | translate }}</mat-label> <mat-label>{{ 'labels.inputs.Time' | translate }}</mat-label>
<input matInput type="time" step="1" [formControl]="checkedToTime" placeholder="HH:MM:SS" class="time-input" /> <input
matInput
type="time"
step="1"
[formControl]="checkedToTime"
placeholder="HH:MM:SS"
class="time-input"
/>
</mat-form-field> </mat-form-field>
</div> </div>
</div> </div>
</mat-card-content>
</mat-card>
<!-- Autocomplete data --> <!-- Autocomplete data -->
<mat-autocomplete autoActiveFirstOption #userNameAutocomplete="matAutocomplete" [displayWith]="displayUserName"> <mat-autocomplete autoActiveFirstOption #userNameAutocomplete="matAutocomplete" [displayWith]="displayUserName">
@@ -16,3 +16,8 @@ table {
.gap-8px { .gap-8px {
gap: 8px; gap: 8px;
} }
.audit-filters-card {
margin-bottom: 1.5rem;
padding: 0.75rem 1rem;
}