Update badge

pull/5677/head
Cagatay Civici 2024-04-08 13:55:04 +03:00
parent f33ac1a5cf
commit 178bdb97c5
2 changed files with 2 additions and 2 deletions

View File

@ -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',

View File

@ -35,7 +35,7 @@ export default {
padding: 0;
}
.p-badge-no-gutter {
.p-badge-circle {
padding: 0;
border-radius: 50%;
}