Hi there,
I highly suggest using GenerateBlocks’ Heading or Button block for this. It has a built-in icon that is properly aligned so you don’t have to deal with this issue.
But to answer your concern:
Consider wrapping your text and svg icon in one wrapper for each pair so we could use vertical alignment from flexbox to align your svg and text vertically.
Alternatively, you can try this simple CSS:
svg.bi.bi-telephone {
height: 16px;
margin-bottom: -2px;
}
svg.bi.bi-envelope {
height: 16px;
margin-bottom: -2px;
}
You can adjust the margin-bottom value to your preference.