I have encountered a perplexing situation with my layout. In the design below, you can see both double-lined and single-lined text. I have set a margin for the single-lined texts to align them properly. However, when it comes to double-lined text, I find myself manually adjusting the margin. Is there a way to achieve this without relying on a JavaScript function? Can we accomplish this using pure CSS instead of setting specific margins for each type of text?
https://i.sstatic.net/jLZvI.jpg
Here is the structure of my div:
<div class="operation text-center">
<i class="icon fw fw-ringing fw-3x"></i>
<span>Ring</span>
</div>