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

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

The commit cd38ec2a4d6761128fa4f213ba6358f77eec0530 broke the bookmark delete button alignment in the modal.

diff --git a/app/assets/javascripts/discourse/app/templates/components/bookmark.hbs b/app/assets/javascripts/discourse/app/templates/components/bookmark.hbs
index 56d6588..9882daa 100644
--- a/app/assets/javascripts/discourse/app/templates/components/bookmark.hbs
+++ b/app/assets/javascripts/discourse/app/templates/components/bookmark.hbs
@@ -51,9 +51,7 @@
     {{d-button id="save-bookmark" label="bookmarks.save" class="btn-primary" action=(action "saveAndClose")}}
     {{d-modal-cancel close=(action "closeWithoutSavingBookmark")}}
     {{#if showDelete}}
-      <div class="pull-right">
-        {{d-button id="delete-bookmark" icon="trash-alt" class="btn-danger" action=(action "delete")}}
-      </div>
+      {{d-button id="delete-bookmark" icon="trash-alt" class="delete-bookmark btn-danger" action=(action "delete")}}
     {{/if}}
   </div>
 {{/conditional-loading-spinner}}
diff --git a/app/assets/stylesheets/common/components/bookmark-modal.scss b/app/assets/stylesheets/common/components/bookmark-modal.scss
index 11f4372..def10d5 100644
--- a/app/assets/stylesheets/common/components/bookmark-modal.scss
+++ b/app/assets/stylesheets/common/components/bookmark-modal.scss
@@ -7,6 +7,10 @@
     margin: 0;
     border-top: 0;
     padding: 10px 0;
+
+    .delete-bookmark {
+      margin-left: auto;
+    }
   }
   .modal-body {
     width: 375px;

GitHub sha: 2bf2d799c3c45b21704e32cbabb694a60dc82da8

This commit appears in #14087 which was approved by tshenry. It was merged by martin.