I placed an icon inside the div and set a background color for the div. The problem is that if the icon has a link, its behavior changes and actually increases the height of the div.
If the icon is SVG, everything looks good in the builder, but there is a problem in the frontend.