I'm trying to add a basic MDC select menu to my website. But it's not quite right—the right of the box shows the MDC arrow along with the normal HTML one, and the words are placed too close to the menu label (seen here).
HTML part—
<div class="mdc-select mdc-select--box day-select">
<select class="mdc-select__native-control" required>
<option value="" disabled selected></option>
<option value="grains">
Bread, Cereal, Rice, and Pasta
</option>
<option value="vegetables">
Vegetables
</option>
<option value="fruit">
Fruit
</option>
</select>
<label class="mdc-floating-label">Pick a Food Group</label>
<div class="mdc-line-ripple"></div>
</div>
app.scss part
@import "@material/select/mdc-select";
and the final app.js part
import {MDCSelect} from '@material/select';
new MDCSelect(document.querySelector('.day-select'));
Seems like I have everything I need, but I'm obviously missing something dumb. Any advice is appreciated—thanks!