When my paragraph text contains too many words, it tends to overlap.
Take a look at the code snippet below:
<a class="dropdown-item content btnOpen">
<div class="col-sm-12">
<div class="row">
<div class="col-md-2 p-1">
<img id="notif_image" class="notif_image" src="sample.jpg">
</div>
<div class="col-sm-10">
<h6>Here goes the title</h6>
<div style="max-width: 500px; display:inline-block">
<p style="word-wrap: break-word;"><small>flex flex flex flex flex flex flex flex flex flex flex flex flex flex</small></p>
</div>
<p><small><em>this is just a sample time</em></small></p>
</div>
</div>
</div></a>
This is the expected output: