I am using bootstrap material design and my labels overlap my input texts when the text is pre-populated.. (ref. my screenshot below). Is there a way I can prevent the label from overlapping?
My code:
<div className="modal-body">
<div className="md-form">
<input type="text" className="form-control" defaultValue={ project.name } ref="name"/>
<label>Name</label>
</div>
<div className="md-form">
<input type="text" className="form-control" defaultValue={ project.description } ref="description"/>
<label>Description</label>
</div>
<div className="md-form">
<input type="text" className="form-control" defaultValue={ project.slug } ref="slug"/>
<label>Slug</label>
</div>
</div>
Thanks in advance!