Skip to content

Commit

Permalink
fix(toast): toast text center without theme
Browse files Browse the repository at this point in the history
  • Loading branch information
fennghuang committed Oct 9, 2023
1 parent bb4c162 commit 181ec8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/toast/toast.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
]);
Expand Down

0 comments on commit 181ec8d

Please sign in to comment.