Merge pull request #2238 from Safelite/CASH-136-fix-sticky-footer
CASH-136 reapply modal sticky footer.
This commit is contained in:
commit
21505bcb62
1 changed files with 12 additions and 12 deletions
|
|
@ -27,17 +27,17 @@
|
|||
</div>
|
||||
<div class="modal-body ps-5 pe-5 pb-4 pt-1">
|
||||
<slot></slot>
|
||||
<div class="modal-footer">
|
||||
<modalButtonMain
|
||||
isPrimary
|
||||
class="w-100"
|
||||
:id="modalId + '-modalbtn'"
|
||||
ref="modalButtonMain"
|
||||
loaderColor="white"
|
||||
:buttonText="footerButtonText"
|
||||
@click-event="validateAndEmit"
|
||||
:class="isFooterButtonDisabled && 'form-test-invalid'" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<modalButtonMain
|
||||
isPrimary
|
||||
class="w-100"
|
||||
:id="modalId + '-modalbtn'"
|
||||
ref="modalButtonMain"
|
||||
loaderColor="white"
|
||||
:buttonText="footerButtonText"
|
||||
@click-event="validateAndEmit"
|
||||
:class="isFooterButtonDisabled && 'form-test-invalid'" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -173,7 +173,7 @@ export default {
|
|||
}
|
||||
}
|
||||
.modal-footer {
|
||||
padding: 1rem 0;
|
||||
padding: 1rem 1.5rem;
|
||||
position: sticky;
|
||||
width: 100%;
|
||||
bottom: 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue