refactor: use icon instead of character
This commit is contained in:
parent
79fbba07fa
commit
032797d1da
1 changed files with 1 additions and 2 deletions
|
|
@ -13,8 +13,7 @@ defineProps<{
|
||||||
class="rounded q-px-sm flex-center"
|
class="rounded q-px-sm flex-center"
|
||||||
:style="`color: hsla(var(${!!hslaColor ? hslaColor : '--green-6-hsl'}) / 0.8); background: hsla(var(${!!hslaColor ? hslaColor : '--green-6-hsl'}) / 0.1); `"
|
:style="`color: hsla(var(${!!hslaColor ? hslaColor : '--green-6-hsl'}) / 0.8); background: hsla(var(${!!hslaColor ? hslaColor : '--green-6-hsl'}) / 0.1); `"
|
||||||
>
|
>
|
||||||
<template v-if="!icon">🞄</template>
|
<Icon :icon="icon || 'mdi-circle-medium'" style="margin-right: 0.25rem" />
|
||||||
<Icon v-else :icon style="margin-right: 0.25rem" />
|
|
||||||
{{ title || (!!titleI18n ? $t(titleI18n) : '-') }}
|
{{ title || (!!titleI18n ? $t(titleI18n) : '-') }}
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue