From 181ec8d3467598b30174e882419a47b39211e536 Mon Sep 17 00:00:00 2001 From: fennghuang <89014758+fennghuang@users.noreply.github.com> Date: Mon, 9 Oct 2023 12:39:28 +0000 Subject: [PATCH] fix(toast): toast text center without theme --- src/toast/toast.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/toast/toast.vue b/src/toast/toast.vue index 2162b8103..97202e236 100644 --- a/src/toast/toast.vue +++ b/src/toast/toast.vue @@ -61,7 +61,7 @@ export default defineComponent({ const textClasses = computed(() => [ { [`${name}__text`]: !iconContent.value, - [`${name}__text--${props.direction}`]: iconContent.value && props.direction, + [`${name}__text--${props.direction}`]: props.direction, }, ]);