diff --git a/vue-app/src/App.vue b/vue-app/src/App.vue index 019d15523..923ff52d0 100644 --- a/vue-app/src/App.vue +++ b/vue-app/src/App.vue @@ -486,6 +486,7 @@ summary:focus { padding: $modal-space; text-align: center; box-shadow: var(--box-shadow); + border: 2px solid rgba(115, 117, 166, 0.3); width: 400px; .loader { margin: $modal-space auto; diff --git a/vue-app/src/components.d.ts b/vue-app/src/components.d.ts index 1cef45f0e..d4d8a573b 100644 --- a/vue-app/src/components.d.ts +++ b/vue-app/src/components.d.ts @@ -11,6 +11,7 @@ declare module '@vue/runtime-core' { AddToCartButton: typeof import('./components/AddToCartButton.vue')['default'] BackLink: typeof import('./components/BackLink.vue')['default'] BalanceItem: typeof import('./components/BalanceItem.vue')['default'] + BaseModal: typeof import('./components/BaseModal.vue')['default'] Breadcrumbs: typeof import('./components/Breadcrumbs.vue')['default'] BrightIdWidget: typeof import('./components/BrightIdWidget.vue')['default'] CallToActionCard: typeof import('./components/CallToActionCard.vue')['default'] diff --git a/vue-app/src/components/BaseModal.vue b/vue-app/src/components/BaseModal.vue new file mode 100644 index 000000000..fef021f8b --- /dev/null +++ b/vue-app/src/components/BaseModal.vue @@ -0,0 +1,9 @@ + + + + + + + diff --git a/vue-app/src/components/Cart.vue b/vue-app/src/components/Cart.vue index 0169f6fc3..cb10c454a 100644 --- a/vue-app/src/components/Cart.vue +++ b/vue-app/src/components/Cart.vue @@ -605,7 +605,7 @@ function submitCart(event: any) { } const canWithdrawContribution = computed( - () => currentRound.value?.status === RoundStatus.Cancelled && !contribution.value, + () => currentRound.value?.status === RoundStatus.Cancelled && contribution.value > 0n, ) const showCollapseCart = computed(() => route.name !== 'cart') diff --git a/vue-app/src/components/ClaimModal.vue b/vue-app/src/components/ClaimModal.vue index d6c2cd29c..9f0b3f2e3 100644 --- a/vue-app/src/components/ClaimModal.vue +++ b/vue-app/src/components/ClaimModal.vue @@ -1,5 +1,5 @@ - + {{ $t('claimModal.h2_1') }} @@ -24,7 +24,7 @@ - +