From 21cb8da32f2c6902fa465dabfebbd3e4c72d2b73 Mon Sep 17 00:00:00 2001 From: James Lyne Date: Wed, 1 Sep 2021 01:00:42 +0100 Subject: [PATCH] Modal updates - Add options for removing backdrop and preventing closing - Add close button - Style tweaks --- index.html | 2 + src/components/Modal.vue | 87 +++++++++++++++++++++++++---- src/components/login/LoginModal.vue | 17 ++++-- src/index.d.ts | 1 + src/store/mutations.ts | 1 + src/store/state.ts | 1 + 6 files changed, 91 insertions(+), 18 deletions(-) diff --git a/index.html b/index.html index b4956e8..ec01cbf 100644 --- a/index.html +++ b/index.html @@ -141,6 +141,8 @@ logoutTitle: 'Logout', logoutErrorUnknown: 'Unexpected error while logging out', logoutSuccess: 'Logged out successfully', + + closeTitle: 'Close', }, ui: { diff --git a/src/components/Modal.vue b/src/components/Modal.vue index 0dba4cc..0c2c2d7 100644 --- a/src/components/Modal.vue +++ b/src/components/Modal.vue @@ -15,8 +15,15 @@ -->