+
diff --git a/packages/theme/molecules/button-badge/ButtonBadge.vue b/packages/theme/molecules/button-badge/ButtonBadge.vue
index 77d04ce..d123941 100644
--- a/packages/theme/molecules/button-badge/ButtonBadge.vue
+++ b/packages/theme/molecules/button-badge/ButtonBadge.vue
@@ -10,22 +10,22 @@ export interface ButtonBadgeProps {
blur?: keyof typeof FILTER_BLURS;
textSize?: keyof typeof TEXT_SIZES;
shadow?:
- | "none"
- | "sm"
- | "md"
- | "lg"
- | "xl"
- | "2xl"
- | "inner"
- | "outline"
- | "dark-lg"
- | "dark-xl"
- | "dark-2xl"
- | "dark-inner"
- | "dark-outline"
- | "dark-none"
- | "dark-sm"
- | "dark-md";
+ | "none"
+ | "sm"
+ | "md"
+ | "lg"
+ | "xl"
+ | "2xl"
+ | "inner"
+ | "outline"
+ | "dark-lg"
+ | "dark-xl"
+ | "dark-2xl"
+ | "dark-inner"
+ | "dark-outline"
+ | "dark-none"
+ | "dark-sm"
+ | "dark-md";
padding?: number;
fontWeight?: keyof typeof FONT_WEIGHT;
}
@@ -63,9 +63,9 @@ const overlayStyle = computed(() => ({
const initial = (text = "") => {
return text
- .split(" ")
- .map((text) => text.slice(0, 1))
- .join("");
+ .split(" ")
+ .map((text) => text.slice(0, 1))
+ .join("");
};
const overflow = (text = "") => {
return text.slice(0, 12) + (text.length > 12 ? "..." : "");
@@ -74,46 +74,47 @@ const overflow = (text = "") => {
-
-
+ initial(title)
+ }}
+
-
+
-
{{ overflow(title) }}
-
-
+
+