I am attempting to create a price list with a dotted underline between the price and product that adjusts dynamically in width. Here is my code snippet:
https://jsfiddle.net/romariokbn/2gm27rv6/
<ul class="how-can-i-do">
<li>
<span>Price</span>
<span>15 000 Р</span>
</li>
<li>
<span>Big text price</span>
<span> 3000 Р</span>
</li>
</ul>
However, I am encountering an issue when there are spaces in the text on the right side of the prices.