Recently, I updated my Angular libraries from version 11 to 15 and also upgraded various REST libraries such as Bootstrap and ngxBootstrap to their latest versions. However, after performing these updates, I noticed that there was a loss of empty space between certain elements, particularly spans.
In the earlier version of the application, things looked like this: https://i.sstatic.net/t7u9j.png
Currently, the layout appears different: https://i.sstatic.net/qmbos.png
Inspecting the code in the developer tools, this is what I found:
<h4>
<span>Compare</span>
<span>3/3</span>
</h4>
https://i.sstatic.net/IbErd.png
It seems like there may be a pseudo-element or some other element causing the spacing issue. When attempting to locate this space using the inspector tool, nothing stands out. I have even checked the border-box
, but it doesn't seem to be affecting the spacing either. Does anyone have any ideas on how to resolve this?