Fixed #4454 - ToastMessage: styleClass property is ignored

pull/4476/head
Tuğçe Küçükoğlu 2023-09-19 12:41:19 +03:00
parent 962ddb1353
commit 4e772e244e
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<div :class="cx('container')" role="alert" aria-live="assertive" aria-atomic="true" v-bind="ptm('container')"> <div :class="[cx('container'), message.styleClass]" role="alert" aria-live="assertive" aria-atomic="true" v-bind="ptm('container')">
<component v-if="templates.container" :is="templates.container" :message="message" :onClose="onCloseClick" /> <component v-if="templates.container" :is="templates.container" :message="message" :onClose="onCloseClick" />
<div v-else :class="[cx('content'), message.contentStyleClass]" v-bind="ptm('content')"> <div v-else :class="[cx('content'), message.contentStyleClass]" v-bind="ptm('content')">
<template v-if="!templates.message"> <template v-if="!templates.message">