How can I center this modal window vertically regardless of the size of the contents displayed. In my page, I am displaying an image as a modal window and I would like it to display in the center of the screen. I can align it horizontally, but I can't get it to cooperate vertically. Any ideas/examples of this being done?
I followed this example in my page: modal window demo plunker
but my actual content of the modal window looks like this:
<script type="text/ng-template" id="myModalContent.html">
<div>
<img class= "attachmentImage" src={{items}} />
</div>
</script>
Should I be looking to make changes in bootstrap.min.css
or ui-bootstrap-tpls-0.13.0.js
or is the best way to approach this with my styles in my own sheet.
Thank you very much for your time. Let me know if you need more information or if I am being unclear.