I want the input field and the drop down field in the same area like the one on the left (I did this on the inspector) 
No matter what class I put in my stylesheet it won't shrink the size of the select menu. This is the html code I have.
<mat-form-field appearance="outline">
<mat-label>End Time</mat-label>
<input matInput type="time" placeholder="HH:MM" id="end_time_hour" [formControl]="timeFormControl">
<mat-select name="ampm" class="ampm" [(ngModel)]="event.eampm">
<mat-option value="AM">AM</mat-option>
<mat-option value="PM">PM</mat-option>
</mat-select>
</mat-form-field>