diff --git a/src/components/badge/VBadge.vue b/src/components/badge/VBadge.vue
index 99a6f84..e474e5d 100644
--- a/src/components/badge/VBadge.vue
+++ b/src/components/badge/VBadge.vue
@@ -23,15 +23,17 @@ const severity = computed(() => {
const icon = computed(() => {
switch (props.type) {
- case 'error': return 'ri-close-circle-fill';
- case 'warning' : return 'ri-alert-fill';
- case 'success' : return 'ri-checkbox-circle-fill';
- case 'info': return 'ri-information-fill';
- case 'new': return 'ri-flashlight-fill';
+ case 'error': return 'ri-close-circle-line';
+ case 'warning' : return 'ri-alert-line';
+ case 'success' : return 'ri-checkbox-circle-line';
+ case 'info': return 'ri-information-line';
+ case 'new': return 'ri-flashlight-line';
default:
return undefined;
}
})
+
+const limit = computed(() => props.maxWidth);
@@ -39,25 +41,31 @@ const icon = computed(() => {
role="alert"
:value="props.label"
:severity="severity"
+ :title="props.label"
class="p-tag"
- :style="(!!props.maxWidth) ? {width: props.maxWidth} : {width: 'fit-content'}"
:class="{'small': props.small}"
>
-
-
-
+
+ {{ props.label }}