From fdd1da305219fe32a25958f31e898c9dd85916da Mon Sep 17 00:00:00 2001 From: 18alantom <2.alan.tom@gmail.com> Date: Wed, 19 Jan 2022 17:20:00 +0530 Subject: [PATCH] chore: tune the Toasts --- src/components/Toast.vue | 11 ++++------- src/pages/Settings/Settings.vue | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/components/Toast.vue b/src/components/Toast.vue index f7b11882..330d7d75 100644 --- a/src/components/Toast.vue +++ b/src/components/Toast.vue @@ -9,18 +9,15 @@ flex items-center mb-3 - w-60 + w-80 " - :class="bgColor" + :class="bgColor + (action ? ' cursor-pointer' : '')" style="transition: opacity 150ms ease-in" :style="{ opacity }" + @click="action" v-if="show" > - +

{{ message }}