Below is a snippet of code that I am working with:
<ul>
<li>group 1
<ul>
<li>group 1.1</li>
<li> group 1.2</li>
<li>group 1.3
<ul>
<li>group 1.3.1</li>
<li> group 1.3.2</li>
</ul>
</li>
</ul>
</li>
<li>group 2</li>
<li>group 3</li>
</ul>
I am looking to enhance this treeview by adding formatted numbers on the left side, vertically aligned, as shown in the following image:
https://i.sstatic.net/Kt1xn.png
<ul>
<li><span style="margin-left:-30px">10</span>group 1
<ul>
<li><span style="margin-left:-30px">20</span>group 1.1</li>
<li><span style="margin-left:-30px">15</span> group 1.2</li>
<li><span style="margin-left:-30px">07</span>group 1.3
<ul>
<li><span style="margin-left:-30px">100</span>group 1.3.1</li>
<li><span style="margin-left:-30px">08</span> group 1.3.2</li>
</ul>
</li>
</ul>
</li>
<li><span style="margin-left:-30px">90</span>group 2</li>
<li><span style="margin-left:-30px">110</span>group 3</li>
</ul>
I have attempted to place span elements on the left side and align the numbers within them, but so far it has not been successful.
If you have any suggestions or solutions, I would greatly appreciate it!
Thank you