From 3e52b504b09858546f8c35a8fd32698b320bb9f1 Mon Sep 17 00:00:00 2001 From: Jose Olarte III Date: Fri, 14 Jul 2023 18:27:43 +0800 Subject: [PATCH] Polished gifted dialog UI --- src/components/GiftedDialog.vue | 58 ++++++++++++++++++++------------- src/main.ts | 2 ++ src/router/index.ts | 1 - 3 files changed, 37 insertions(+), 24 deletions(-) diff --git a/src/components/GiftedDialog.vue b/src/components/GiftedDialog.vue index 018c1c5fa..5485926ca 100644 --- a/src/components/GiftedDialog.vue +++ b/src/components/GiftedDialog.vue @@ -1,41 +1,51 @@ @@ -106,12 +116,14 @@ export default class GiftedDialog extends Vue { display: flex; justify-content: center; align-items: center; + padding: 1.5rem; } .dialog { background-color: white; padding: 1rem; border-radius: 0.5rem; - width: 50%; + width: 100%; + max-width: 500px; } diff --git a/src/main.ts b/src/main.ts index 438d10ad6..bc3f7d580 100644 --- a/src/main.ts +++ b/src/main.ts @@ -13,6 +13,7 @@ import { faBurst, faCalendar, faChevronLeft, + faChevronRight, faCircle, faCircleCheck, faCircleQuestion, @@ -53,6 +54,7 @@ library.add( faBurst, faCalendar, faChevronLeft, + faChevronRight, faCircle, faCircleCheck, faCircleQuestion, diff --git a/src/router/index.ts b/src/router/index.ts index 0fdf05c9e..c66eca942 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -166,7 +166,6 @@ const routes: Array = [ /* webpackChunkName: "statistics" */ "../views/ContactGiftingView.vue" ), }, - ]; /** @type {*} */