You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<template> <modal name="cancellationPolicy" height="auto" :scrollable="true" :clickToClose="true"> <div class="tw-text-base-primary xl:tw-p-[5px]"> <div class="modal-header tw-flex tw-w-full tw-justify-center tw-mb-[32px] md:tw-mb-[21px] xl:tw-justify-start"> <button class="close tw-transition tw-btn-md" @click="$modal.hide('cancellationPolicy')"></button> <div class="t18 tw-mt-[30px] xl:tw-text-[20px]"> Cancellation Policy </div> </div> <div class="editor-styleguide modal-content tw-head-body tw-grid tw-gap-[10px] tw-px-[20px] tw-grid-cols-1 md:tw-text-[12px]"> <div v-html="cancellationPolicy"></div> </div> </div> </modal> </template> <script> export default { name: "cancellation-policy-modal", data() { return {}; }, props: { cancellationPolicy: { type: String, }, }, }; </script> <style lang="scss" scoped> .close { position: absolute; right: 25px; top: 30px; background-image: url("~/assets/svg/close.svg"); background-position: center; background-repeat: no-repeat; background-size: cover; width: 14px; height: 14px; }
.v--modal-overlay::v-deep { position: fixed; box-sizing: border-box; left: 0; bottom: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.2); z-index: 999 !important; opacity: 1;
.v--modal { width: 100% !important; max-width: 100% !important; height: auto; max-height: 640px; border-top-left-radius: 16px; border-top-right-radius: 16px; top: 0 !important; left: 0 !important; right: 0 !important; margin: 0;
@media screen and (min-width: 768px) { height: auto; max-height: 900px; } }
.v--modal-box { overflow: auto; }
.v--modal-background-click { display: flex; align-items: flex-end;
@media screen and (min-width: 768px) { display: flex !important; align-items: flex-end !important; } } } </style>
|