forked from verdnatura/salix-front
Fix order summary address
This commit is contained in:
parent
fdbad9c2cb
commit
3ea1fc775d
|
@ -110,15 +110,11 @@ const detailsColumns = ref([
|
||||||
:label="t('order.summary.createdFrom')"
|
:label="t('order.summary.createdFrom')"
|
||||||
:value="entity?.sourceApp"
|
:value="entity?.sourceApp"
|
||||||
/>
|
/>
|
||||||
<VnLv :label="t('order.summary.address')">
|
<VnLv
|
||||||
<template #value>
|
:label="t('order.summary.address')"
|
||||||
<span class="address">
|
:value="`${entity?.address?.street} - ${entity?.address?.city} (${entity?.address?.province?.name})`"
|
||||||
{{
|
class="order-summary-address"
|
||||||
`${entity?.address?.street} - ${entity?.address?.city} (${entity?.address?.province?.name})`
|
/>
|
||||||
}}
|
|
||||||
</span>
|
|
||||||
</template>
|
|
||||||
</VnLv>
|
|
||||||
</QCard>
|
</QCard>
|
||||||
<QCard class="vn-one">
|
<QCard class="vn-one">
|
||||||
<p class="header">
|
<p class="header">
|
||||||
|
@ -203,11 +199,18 @@ const detailsColumns = ref([
|
||||||
</template>
|
</template>
|
||||||
</CardSummary>
|
</CardSummary>
|
||||||
</template>
|
</template>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss">
|
||||||
.address {
|
.cardSummary .summaryBody .vn-label-value.order-summary-address {
|
||||||
white-space: normal;
|
.label {
|
||||||
}
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.value {
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<style lang="scss" scoped>
|
||||||
.item {
|
.item {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue