Having an issue with my style where the selected option text inside a select tag is partially hidden. Using Bootstrap 4 and "luxbootstrap.min.css" style. Here's my HTML code:
<div class="container">
<h1 class="text-center">My Racks</h1>>
<div class="form-group">
<select class="form-control" id="rack" [(ngModel)]="rack">
<option [value]="rack" *ngFor="let rack of racks">{{rack}}</option>
</select>
</div>
</div>
https://i.sstatic.net/t5j7I.jpg
https://i.sstatic.net/QSup5.jpg
It seems that the luxbootstrap theme is causing extra padding in the form-control.
https://i.sstatic.net/8DSZe.jpg
https://i.sstatic.net/90rIW.jpg
To fix this, I added the following snippet in style.css:
select.form-control {
padding: 0;
}
Any help would be greatly appreciated...