It appears that the issue with your code lies in attempting to modify an element without the correct selector, specifically .popover
. The correct selector has a max-width property
which prevents it from being edited as desired. To solve this, simply add the following CSS:
.popover {
max-width: 500px;
That should resolve the issue.
Upon reviewing your plnkr, I noticed that you were using modal classes in the code, which is incorrect. This is not an issue related to grammar or CSS usage. To address this, I have added new CSS classes:
.popover-content > .header {
padding: 15px;
border-bottom: 1px solid #e5e5e5;
}
.popover-content > .body {
padding: 20px;
}
I have also made changes to the popover.html
file:
<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 view my updated plnkr fork here: https://plnkr.co/edit/p4dr2XMzQqw8R6RYOsMo?p=preview