refactor: edit layout show icon

This commit is contained in:
Net 2024-09-05 11:51:55 +07:00
parent 7c87c3eaf6
commit 7936fa0d96

View file

@ -139,10 +139,13 @@ defineEmits<{
</AppCircle> </AppCircle>
<!-- name symbol --> <!-- name symbol -->
<span class="items-center justify-center row text-center full-width"> <span class="full-width">
<span class="ellipsis col-6"> <span
class="items-center justify-center row text-center ellipsis col-6"
>
<div class="items-center ellipsis" style="max-width: 140px">
{{ data.name }} {{ data.name }}
</span> </div>
<Icon <Icon
v-if="data.male || data.female" v-if="data.male || data.female"
class="q-pl-xs" class="q-pl-xs"
@ -156,6 +159,7 @@ defineEmits<{
width="24px" width="24px"
/> />
</span> </span>
</span>
<span style="color: hsl(var(--text-mute)); scale: 0.9"> <span style="color: hsl(var(--text-mute)); scale: 0.9">
{{ data.code || '-' }} {{ data.code || '-' }}
</span> </span>