Format template

This commit is contained in:
David Haz
2025-07-21 13:10:41 +03:00
parent 25c3e2953b
commit 0b3e38f466

View File

@@ -154,7 +154,12 @@ onBeforeUnmount(() => {
</script>
<template>
<component :is="as" ref="containerRef" :class="`inline-block whitespace-pre-wrap tracking-tight ${className}`" v-bind="$attrs">
<component
:is="as"
ref="containerRef"
:class="`inline-block whitespace-pre-wrap tracking-tight ${className}`"
v-bind="$attrs"
>
<span class="inline" :style="{ color: getCurrentTextColor() }">
{{ displayedText }}
</span>