From d328951ac17989448987e6a69b17db1bf7c00ed7 Mon Sep 17 00:00:00 2001 From: carlossa Date: Tue, 5 Dec 2023 14:26:11 +0100 Subject: [PATCH] refs #6256 refactor line break --- src/components/ui/CardSummary.vue | 3 --- src/components/ui/VnLv.vue | 22 ++++------------------ 2 files changed, 4 insertions(+), 21 deletions(-) diff --git a/src/components/ui/CardSummary.vue b/src/components/ui/CardSummary.vue index a95cc414b..9f3d9756b 100644 --- a/src/components/ui/CardSummary.vue +++ b/src/components/ui/CardSummary.vue @@ -122,10 +122,7 @@ watch(props, async () => { } .value { color: var(--vn-text); - width: max-content; overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; } } .header { diff --git a/src/components/ui/VnLv.vue b/src/components/ui/VnLv.vue index 3863b4f30..add546ab0 100644 --- a/src/components/ui/VnLv.vue +++ b/src/components/ui/VnLv.vue @@ -9,22 +9,12 @@ const $props = defineProps({ titleValue: { type: [Number, String, Boolean], default: null }, info: { type: String, default: null }, dash: { type: Boolean, default: true }, - textOverflow: { type: String, default: 'ellipsis' }, }); const isBooleanValue = computed(() => typeof $props.value === 'boolean'); -const textOverflowClass = computed(() => { - if ($props.textOverflow === 'ellipsis') return 'line-break-text'; - return 'ellipsis-text'; -});