From 61ec9510118290a94b06f9ed3efcfcbc803c727b Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Wed, 2 Apr 2025 07:53:14 +0000 Subject: [PATCH 1/7] Merge pull request 'fix_vnLinkPhone' (!1659) from fix_vnLinkPhone into dev Reviewed-on: https://gitea.verdnatura.es/verdnatura/salix-front/pulls/1659 Reviewed-by: Alex Moreno --- src/components/ui/CardSummary.vue | 5 + src/components/ui/VnLinkMail.vue | 4 + src/components/ui/VnLinkPhone.vue | 70 ++++++---- src/pages/Customer/Card/CustomerSummary.vue | 23 ++- src/pages/Route/Roadmap/RoadmapSummary.vue | 7 +- src/pages/Worker/Card/WorkerDescriptor.vue | 10 +- src/pages/Worker/Card/WorkerSummary.vue | 147 ++++++++++---------- 7 files changed, 146 insertions(+), 120 deletions(-) diff --git a/src/components/ui/CardSummary.vue b/src/components/ui/CardSummary.vue index 05bfed998..8a41b0d9f 100644 --- a/src/components/ui/CardSummary.vue +++ b/src/components/ui/CardSummary.vue @@ -159,6 +159,7 @@ async function fetch() { display: flex; flex-direction: row; margin-top: 2px; + align-items: start; .label { color: var(--vn-label-color); width: 9em; @@ -169,6 +170,10 @@ async function fetch() { flex-grow: 0; flex-shrink: 0; } + &.ellipsis > .value { + text-overflow: ellipsis; + white-space: pre; + } .value { color: var(--vn-text-color); overflow: hidden; diff --git a/src/components/ui/VnLinkMail.vue b/src/components/ui/VnLinkMail.vue index a54f463f5..6c5129a9b 100644 --- a/src/components/ui/VnLinkMail.vue +++ b/src/components/ui/VnLinkMail.vue @@ -1,8 +1,11 @@ diff --git a/src/components/ui/VnLinkPhone.vue b/src/components/ui/VnLinkPhone.vue index a9e9bc0fc..e34a70011 100644 --- a/src/components/ui/VnLinkPhone.vue +++ b/src/components/ui/VnLinkPhone.vue @@ -1,7 +1,7 @@ + diff --git a/src/pages/Customer/Card/CustomerSummary.vue b/src/pages/Customer/Card/CustomerSummary.vue index 7d5d691a3..342643ec3 100644 --- a/src/pages/Customer/Card/CustomerSummary.vue +++ b/src/pages/Customer/Card/CustomerSummary.vue @@ -84,28 +84,27 @@ const sumRisk = ({ clientRisks }) => { - -