I am struggling to align the text properly after a line break. I have attempted using CSS, such as setting margin bottom on the text.
Unfortunately, margin bottom does not seem to work. I also tried adjusting the line height without success.
<Col md={6}>
<ul className="deets">
<li><FaRegHandshake classname="icons"/><span style={{marginBottom:"90", marginLeft:"5px"}}>Let us help you {this.state.personalized}</span></li>
<li><FaPhone classname="icons"/><span style={{marginBottom:"90", marginLeft:"5px"}}>Our representative contacts you within 24 hours</span></li>
<li><FaToolbox classname="icons"/><span style={{marginBottom:"90", marginLeft:"5px"}}>We collect all the necessary requirements from you</span></li>
<li><FaUserSecret classname="icons"/><span style={{marginBottom:"90", marginLeft:"5px"}}>We keep confidentiality with all of our clients by signing NDA</span></li>
</ul>
</Col>
Here is an image illustrating my issue
The problem lies in each <li>
element where the wrapped text on the second line aligns horizontally with the image above it, rather than being indented to align horizontally with the text from the same <li>
.