Utilizing This specific modal within Angular2, I am attempting to adjust the positioning of the modal popup to the left. Here is what I have attempted:
<modal #categoriesmodal [cssClass]="modalchecklist">
<modal-header [show-close]="true">
<h4 class="modal-title">I'm a modal!</h4>
</modal-header>
<modal-body>
Hello World!
</modal-body>
<modal-footer [show-default-buttons]="true"></modal-footer>
</modal>
In the CSS class
.modalchecklist{
position:absolute;
top:0;
left:0
}
I also attempted adding //background color:red
to the CSS class but this resulted in the css being applied to the background document rather than the modal itself.
What am I doing incorrectly with the CSS classes?
I have inspected the Chrome Developer Tools as well, however, they have not resolved the issue.
Any idea what might be causing this problem?