I would just wrap in a flex div to ensure it always works as expected.
html {
line-height: 1.5;
}
span {
background-color: red;
}
.col {
display: flex;
flex-direction: column;
align-items: flex-start;
}
<pre>
<div class="col">
<span>line 1</span>
<span>line 2</span>
</div>
</pre>