mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Update message demos
This commit is contained in:
parent
deed42de60
commit
2614bafa74
14 changed files with 197 additions and 111 deletions
|
@ -6,7 +6,7 @@
|
|||
<slot name="messageicon" class="p-message-icon">
|
||||
<component :is="icon ? 'span' : iconComponent" :class="[cx('icon'), icon]" v-bind="ptm('icon')"></component>
|
||||
</slot>
|
||||
<div class="p-message-text" :class="cx('text')" v-bind="ptm('text')">
|
||||
<div v-if="$slots.default" class="p-message-text" :class="cx('text')" v-bind="ptm('text')">
|
||||
<slot></slot>
|
||||
</div>
|
||||
<button v-if="closable" v-ripple :class="cx('closeButton')" :aria-label="closeAriaLabel" type="button" @click="close($event)" v-bind="{ ...closeButtonProps, ...ptm('closeButton') }">
|
||||
|
|
|
@ -2,7 +2,6 @@ import BaseStyle from '@primevue/core/base/style';
|
|||
|
||||
const theme = ({ dt }) => `
|
||||
.p-message {
|
||||
margin: ${dt('message.margin')};
|
||||
border-radius: ${dt('message.border.radius')};
|
||||
border-width: ${dt('message.border.width')};
|
||||
border-style: solid;
|
||||
|
@ -13,6 +12,7 @@ const theme = ({ dt }) => `
|
|||
align-items: center;
|
||||
padding: ${dt('message.content.padding')};
|
||||
gap: ${dt('message.content.gap')};
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.p-message-icon {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue