Modal close button without title is left aligned
Created by: bembelimen
Hello,
if you create a modal without a title, the close button is not aligned right but left.
<div class="modal fade">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<p>Modal body text goes here.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary">Save changes</button>
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
For testing, you could just remove the title from the modals on the example page via the browser inspector: http://v4-alpha.getbootstrap.com/components/modal/#examples