Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix(time-filter css) #1104

Merged
merged 2 commits into from
Sep 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div *ngIf="style === 'calendar' && type !=='year'">
<div *ngIf="!isRange" class="igo-col igo-col-100 igo-col-100-m">
<mat-form-field>
<mat-datetimepicker-toggle [for]="datetimePicker" matSuffix></mat-datetimepicker-toggle>
<mat-datetimepicker-toggle class="time-filter-mat-datetimepicker-toggle" [for]="datetimePicker" matSuffix></mat-datetimepicker-toggle>
<mat-datetimepicker #datetimePicker type="{{type}}" openOnFocus="true" timeInterval="5"></mat-datetimepicker>
<input matInput autocomplete="false"
placeholder="{{'igo.geo.timeFilter.date' | translate}}"
Expand All @@ -18,7 +18,7 @@
<div *ngIf="isRange">
<div class="igo-col igo-col-100">
<mat-form-field>
<mat-datetimepicker-toggle [for]="minDatetimePicker" matSuffix></mat-datetimepicker-toggle>
<mat-datetimepicker-toggle class="time-filter-mat-datetimepicker-toggle" [for]="minDatetimePicker" matSuffix></mat-datetimepicker-toggle>
<mat-datetimepicker #minDatetimePicker type="{{type}}" openOnFocus="true" timeInterval="5"></mat-datetimepicker>
<input matInput autocomplete="false"
placeholder="{{'igo.geo.timeFilter.startDate' | translate}}"
Expand All @@ -34,7 +34,7 @@

<div class="igo-col igo-col-100">
<mat-form-field>
<mat-datetimepicker-toggle [for]="maxDatetimePicker" matSuffix></mat-datetimepicker-toggle>
<mat-datetimepicker-toggle class="time-filter-mat-datetimepicker-toggle" [for]="maxDatetimePicker" matSuffix></mat-datetimepicker-toggle>
<mat-datetimepicker #maxDatetimePicker type="{{type}}" openOnFocus="true" timeInterval="5"></mat-datetimepicker>
<input matInput autocomplete="false"
placeholder="{{'igo.geo.timeFilter.endDate' | translate}}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,8 @@ mat-datetimepicker-toggle ::ng-deep .mat-icon {

.igo-layer-actions-container > .mat-slide-toggle {
vertical-align: middle;
}
}

.time-filter-mat-datetimepicker-toggle ::ng-deep .mat-icon {
width: auto;
}