From 4bdc78ba2135a16a93f4273870846f325faadbdc Mon Sep 17 00:00:00 2001 From: Mamalizz Date: Thu, 13 Mar 2025 20:21:51 +0330 Subject: [PATCH] rtl toast box --- frontend/components/global/ToastContainer/ToastBox.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/components/global/ToastContainer/ToastBox.vue b/frontend/components/global/ToastContainer/ToastBox.vue index 40db762..d539f25 100644 --- a/frontend/components/global/ToastContainer/ToastBox.vue +++ b/frontend/components/global/ToastContainer/ToastBox.vue @@ -88,19 +88,19 @@ onMounted(() => { :duration="options.duration ?? 4000" @swipeEnd="onSwipeEnd" v-model:open="open" - class="bg-white shadow-md shadow-black/3 border-t-[0.5px] border-slate-200 border-black p-4 grid [grid-template-areas:_'title_action'_'description_action'] grid-cols-[auto_max-content] gap-x-[15px] items-center data-[state=open]:animate-toast-in data-[state=closed]:animate-toast-hide data-[swipe=move]:translate-x-[var(--reka-toast-swipe-move-x)] data-[swipe=cancel]:translate-x-0 data-[swipe=cancel]:transition-[transform_200ms_ease-out] data-[swipe=end]:animate-toast-out" + class="w-full bg-white shadow-md justify-items-start shadow-black/3 border-t-[0.5px] border-slate-200 p-4 grid [grid-template-areas:_'title_action'_'description_action'] grid-cols-[auto_max-content] gap-x-[15px] items-center data-[state=open]:animate-toast-in data-[state=closed]:animate-toast-hide data-[swipe=move]:translate-x-[var(--reka-toast-swipe-move-x)] data-[swipe=cancel]:translate-x-0 data-[swipe=cancel]:transition-[transform_200ms_ease-out] data-[swipe=end]:animate-toast-out" :class="options.description ? 'rounded-150' : 'rounded-full'" > - {{ message }} + {{ message }}
{{ options.description }}