I have been struggling to include ellipsis after displaying 2 lines of icons. I have tried different approaches and modifications, but nothing seems to work. Seeking assistance from experts to tackle this issue, your feedback is highly appreciated.
.ellipsis {
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
.gicon{
background-repeat:no-repeat;
background-position: center center;
background-size: auto 100%;
height: 32px;
width: 32px;
align-self: center;
}
<div class="row facilityRow">
<div class="col d-flex align-content-start flex-wrap ellipsis">
<div class="d-flex flex-column mr-3">
<i class="gicon" path="001-meditation" rel="tooltip" data-toggle="tooltip" data-placement="top" title="Mediation"></i>
<small>Mediation</small>
</div>
<div class="d-flex flex-column mr-3">
<i class="gicon" path="003-yoga" rel="tooltip" data-toggle="tooltip" data-placement="top" title="Yoga"></i>
<small>Yoga</small>
</div>
</div>
</div>