Following is the appearance of the selector:
https://i.sstatic.net/njql9.png
The text currently appears close to the bottom of the selector. I would like it to be centered vertically while maintaining its horizontal positioning towards the left side.
Here is the code for the selector element:
<div class="MuiFormControl-root searchPlatform"></div>
This element has the following styles applied:
border: 0;
margin: 0;
display: inline-flex;
padding: 0;
position: relative;
min-width: 0;
flex-direction: column;
vertical-align: top;
The label "Platform" is defined as:
<label class="MuiFormLabel-root MuiInputLabel-root MuiInputLabel-formControl MuiInputLabel-animated MuiInputLabel-outlined">
I attempted to include vertical-align: middle;
in its style, but this did not alter its position.
Is there a way to center the text vertically within the element?