0
0
Fork 0

Fix order summary address

This commit is contained in:
Kevin Martinez 2023-12-22 01:01:51 -04:00
parent fdbad9c2cb
commit 3ea1fc775d
1 changed files with 16 additions and 13 deletions

View File

@ -110,15 +110,11 @@ const detailsColumns = ref([
:label="t('order.summary.createdFrom')"
:value="entity?.sourceApp"
/>
<VnLv :label="t('order.summary.address')">
<template #value>
<span class="address">
{{
`${entity?.address?.street} - ${entity?.address?.city} (${entity?.address?.province?.name})`
}}
</span>
</template>
</VnLv>
<VnLv
:label="t('order.summary.address')"
:value="`${entity?.address?.street} - ${entity?.address?.city} (${entity?.address?.province?.name})`"
class="order-summary-address"
/>
</QCard>
<QCard class="vn-one">
<p class="header">
@ -203,11 +199,18 @@ const detailsColumns = ref([
</template>
</CardSummary>
</template>
<style lang="scss" scoped>
.address {
white-space: normal;
}
<style lang="scss">
.cardSummary .summaryBody .vn-label-value.order-summary-address {
.label {
flex-shrink: 0;
}
.value {
white-space: normal;
}
}
</style>
<style lang="scss" scoped>
.item {
text-align: center;
}