Here is the HTML code I am working with:
<div>
<div style="color:white">Date Range:</div>
<div class="input-daterange input-group">
<input class="form-control" value="2017-01-01"
name="dp1" [(ngModel)]="model" ngbDatepicker
#dp1="ngbDatepicker"
(click)="dp1.toggle()" [ngClass]="'my_group'"
(ngModelChange)="changeValue()">
<span class="input-group-addon">TO</span>
<input class="form-control" value="2017-01-01"
name="dp2" [(ngModel)]="model" ngbDatepicker
#dp2="ngbDatepicker"
(click)="dp2.toggle()" [ngClass]="'my_group'"
(ngModelChange)="changeValue()">
</div>
</div>
I am trying to adjust the position of the ngbDatepicker by setting the left position to zero in the CSS:
.my_group {
left: 0px;
right: 0px;
}
Despite this, the desired effect was not achieved. Any assistance on this issue would be greatly appreciated.