User379720387 posted
I have a UI element that looks great but blows up (spills on to the next line), once I make any modifications. It is also difficult to maintain because the order of elements in code is counter intuitive.
From left to right:
- user glyphicon
- name of customer (Wagner)
- a badge with the dollar value containing a <a> to some code
- eye glyphicon which is clickable and opens bootstrap modal
Need to add a progress spinner in between Wagner and the badge with the dollar value, but closest to the badge with $ value.
When I add it where is says ADD NEW GLYPH here, the logical place for me it blows up and ends up on the next line.
I need a different approach here but am not seeing where.
Any suggestions?
<li class="list-group-item">
<a href="#" billtoid="60" providerid="@providerid" class="pickBill" style="font-size: 1.25em; color:green; padding-right:5px; margin-left:20px">
<span class="glyphicon glyphicon-eye-open pull-right" style="margin-left:24px;"
data-toggle="modal"data-target="#basicModal">
</span>
</a>
<span class="glyphicon glyphicon-user pull-left" data-toggle="tooltip" data-placement="right" title="owner" style="font-size: 1.25em; color:beige;"> </span>
<span class="badge" data-toggle="tooltip" data-placement="left" title="send bill"><a href="~/Billing/60" style="color: white;">$ @unbilled.ElementAt(ub).total.ToString("0.00")</a>
</span>ADD NEW GLYPH HERE@unbilled.LName
</li>