Skip to content

Commit

Permalink
Adde centring of the content in the modal footer
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-baillie-ortoo committed Dec 13, 2021
1 parent 8f2707d commit e2f17b7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions framework/default/ortoo-core/default/lwc/modal/modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<div class="slds-modal__container">

<header class="slds-modal__header">
<!-- TODO: labels for 'Close' -->
<button
class="slds-button slds-button_icon slds-modal__close slds-button_icon-inverse"
title={labels.close}
Expand All @@ -37,7 +36,9 @@ <h2 id="modal-heading-01" class="slds-text-heading_medium slds-hyphenate">
</div>

<footer class="slds-modal__footer">
<slot name="footer"></slot>
<div class="slds-align_absolute-center">
<slot name="footer"></slot>
</div>
</footer>
</div>
</section>
Expand Down

0 comments on commit e2f17b7

Please sign in to comment.