Working on my project with Bootstrap 4 and encountered a coding issue. Here is the code snippet:
.form-info-tab {
border: 1px solid #ccc;
border-collapse: separate;
border-spacing: 0px;
padding:5px;
text-align:center;
}
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet">
<span class="col-xs-12 col-sm-6 col-md-3 form-info-tab">
<i class="fas fa-hourglass-half"></i>
<label class="modalLables">One </label>
</span>
<span class="col-xs-12 col-sm-6 col-md-3 form-info-tab">
<i class="fas fa-hourglass-half"></i>
<label class="modalLables">Two</label>
</span>
Encountering an issue where right borders are overlapping. Any suggestions on how to fix it?
Refer to the image below for a visual representation of the issue: https://i.stack.imgur.com/Tp5mA.png