Update badge
parent
f33ac1a5cf
commit
178bdb97c5
|
@ -5,7 +5,7 @@ const classes = {
|
|||
root: ({ props, instance }) => [
|
||||
'p-badge p-component',
|
||||
{
|
||||
'p-badge-no-gutter': ObjectUtils.isNotEmpty(props.value) && String(props.value).length === 1,
|
||||
'p-badge-circle': ObjectUtils.isNotEmpty(props.value) && String(props.value).length === 1,
|
||||
'p-badge-dot': ObjectUtils.isEmpty(props.value) && !instance.$slots.default,
|
||||
'p-badge-lg': props.size === 'large',
|
||||
'p-badge-xl': props.size === 'xlarge',
|
||||
|
|
|
@ -35,7 +35,7 @@ export default {
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
.p-badge-no-gutter {
|
||||
.p-badge-circle {
|
||||
padding: 0;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue