Merge pull request #802 from Safelite/CSR-920-update-modal-to-use-button-main
CSR-920 replace generic button with button-main.
This commit is contained in:
commit
18eb258240
1 changed files with 12 additions and 5 deletions
|
|
@ -22,10 +22,13 @@
|
|||
<p class="mb-0" v-html="this.ModalBodyText"></p>
|
||||
</div>
|
||||
<div class="modal-footer px-5 py-4">
|
||||
<button
|
||||
class="btn btn-primary w-100"
|
||||
data-bs-dismiss="modal"
|
||||
buttonText="ModalCloseButtonText"></button>
|
||||
<buttonMain
|
||||
class="w-100"
|
||||
ref="buttonMain"
|
||||
isPrimary
|
||||
:buttonText="ModalCloseButtonText"
|
||||
@click-event="buttonClick"
|
||||
data-bs-dismiss="modal" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -33,6 +36,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import buttonMain from "@/ux-components/button-main/button-main";
|
||||
|
||||
export default {
|
||||
name: "modal",
|
||||
props: {
|
||||
|
|
@ -55,6 +60,9 @@ export default {
|
|||
return this.getCmsContent(this.cmsWidgetName, "FooterText");
|
||||
},
|
||||
},
|
||||
components: {
|
||||
buttonMain,
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
|
|
@ -104,7 +112,6 @@ export default {
|
|||
box-shadow: 0px -1px 0px rgba(179, 180, 181, 0.3);
|
||||
button {
|
||||
margin: 0;
|
||||
height: 3rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue