Skip to content

Commit be16541

Browse files
committed
Updated date component to align to the right and removed the css which was causing issue for the sticky fields
1 parent 5135a10 commit be16541

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/angular-sdk-components/src/lib/_components/field/date/date.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
(dateChange)="fieldOnDateChange($event)"
2121
/>
2222
<mat-datepicker-toggle matSuffix [for]="pegadate" [disabled]="bDisabled$"></mat-datepicker-toggle>
23-
<mat-datepicker #pegadate [startAt]="value$"></mat-datepicker>
23+
<mat-datepicker #pegadate [startAt]="value$" xPosition="end"></mat-datepicker>
2424
<mat-error *ngIf="fieldControl.invalid">{{ getErrorMessage() }}</mat-error>
2525
</mat-form-field>
2626
</div>

packages/angular-sdk-components/src/lib/_components/field/phone/phone.component.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
font-size: 0.7rem;
2525
}
2626

27-
::ng-deep .cdk-overlay-pane {
28-
left: 32rem !important;
29-
top: 20rem !important;
30-
}
27+
// ::ng-deep .cdk-overlay-pane {
28+
// // left: 32rem !important;
29+
// // top: 20rem !important;
30+
// }
3131

3232
::ng-deep .mat-mdc-menu-panel {
3333
max-width: 20rem;

0 commit comments

Comments
 (0)