About your code and your problem, the problem is you are trying to edit an element whithout the correct selector (.popover
). And when you try to edit the correct selector it has an max-width property
. So it doesn't work. But is enough with
.popover {
max-width: 500px;
}
That is all.
But I try your plnkr and find you are using modals classes in the code. That is a mistake. Because it's not the grammar or use of the css. So I add new css classes:
.popover-content > .header {
padding: 15px;
border-bottom: 1px solid #e5e5e5;
}
.popover-content > .body {
padding: 20px;
}
And change the popover.html
to:
<div class="header">
<b>How is this amount calculated?</b>
</div>
<div class="body">
<h4>PQ * A% * CR AVG </h4>
<br />
PQ - Pre-Qualified based on your historical data <br />
A% - Approval percentage <br />
CR AVG - (Historical Credits Earned) / (Total Certificates)
</div>
http://angular-ui.github.io/bootstrap/
You can check my plnkr fork:https://plnkr.co/edit/p4dr2XMzQqw8R6RYOsMo?p=preview