Skip to content

Commit

Permalink
Merge pull request #2978 from bahadirsofuoglu/toast-close-style-issue
Browse files Browse the repository at this point in the history
toast close icon style issue fixed
  • Loading branch information
tugcekucukoglu authored Sep 29, 2022
2 parents 49c0e8d + fb2e33a commit c3619be
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/toast/ToastMessage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
</div>
</template>
<component v-else :is="template" :message="message"></component>
<button v-if="message.closable !== false" v-ripple class="p-toast-icon-close p-link" @click="onCloseClick" type="button">
<span class="p-toast-icon-close-icon pi pi-times"></span>
</button>
<div v-if="message.closable !== false">
<button v-ripple class="p-toast-icon-close p-link" @click="onCloseClick" type="button">
<span class="p-toast-icon-close-icon pi pi-times"></span>
</button>
</div>
</div>
</div>
</template>
Expand Down

0 comments on commit c3619be

Please sign in to comment.