FIX: Bookmark delete button alignment in modal-footer (#14087)

The commit cd38ec2a4d broke
the bookmark delete button alignment in the modal.
This commit is contained in:
Martin Brennan 2021-08-19 10:15:50 +10:00 committed by GitHub
parent 052c78381b
commit 2bf2d799c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -51,9 +51,7 @@
{{d-button id="save-bookmark" label="bookmarks.save" class="btn-primary" action=(action "saveAndClose")}} {{d-button id="save-bookmark" label="bookmarks.save" class="btn-primary" action=(action "saveAndClose")}}
{{d-modal-cancel close=(action "closeWithoutSavingBookmark")}} {{d-modal-cancel close=(action "closeWithoutSavingBookmark")}}
{{#if showDelete}} {{#if showDelete}}
<div class="pull-right"> {{d-button id="delete-bookmark" icon="trash-alt" class="delete-bookmark btn-danger" action=(action "delete")}}
{{d-button id="delete-bookmark" icon="trash-alt" class="btn-danger" action=(action "delete")}}
</div>
{{/if}} {{/if}}
</div> </div>
{{/conditional-loading-spinner}} {{/conditional-loading-spinner}}

View File

@ -7,6 +7,10 @@
margin: 0; margin: 0;
border-top: 0; border-top: 0;
padding: 10px 0; padding: 10px 0;
.delete-bookmark {
margin-left: auto;
}
} }
.modal-body { .modal-body {
width: 375px; width: 375px;