Skip to content

Commit

Permalink
fix(toast): toast text center without theme (#1120)
Browse files Browse the repository at this point in the history
* fix(toast): toast text center without theme

* fix(toast): toast text center without theme
  • Loading branch information
fennghuang authored Oct 11, 2023
1 parent c7d5bd5 commit c6c0a66
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 @@ -2,7 +2,7 @@
<div>
<t-overlay v-bind="customOverlayProps" />
<div :class="classes" :style="{ top: placement === 'top' ? '25%' : placement === 'bottom' ? '75%' : '45%' }">
<div :class="iconClasses">
<div v-if="iconContent" :class="iconClasses">
<t-node :content="iconContent"></t-node>
</div>
<div v-if="messageContent" :class="textClasses">
Expand Down

0 comments on commit c6c0a66

Please sign in to comment.