Hello bricks team,
We can now add multiple Progress Bars to the Progress Bar element. This makes the markup not clean if we only need one Progress Bar. For example, this is the markup for a Progress Bar.
<div id="brxe-xwihxy" data-script-id="xwihxy" class="brxe-progress-bar">
<div class="bar-wrapper">
<div class="bar">
<span data-width="80%" style="width: 80%;"></span>
</div>
</div>
</div>
I think it would be much better if each element was just one Progress Bar. If we needed multiple items, we could easily put multiple Progress Bars in one wrapper. Just like the Pie Chart element.
In this case, the markup in a Progress Bar will look like this.
<div class="brxe-progress-bar" data-script-id="xwihxy">
<span data-width="80%" style="width: 80%;"></span>
</div>
Thank you