not sure if it solves your specific problem, but if you cross out all css and most of the div, the numbers line up next to the inputs and the “X” is still sitting to the right of the input;
<div>
<ol>
<li>
<input>
<button>x</button>
</li>
<li>
<input>
<button>x</button>
</li>
</ol>
</div>
source
share