From 0a3468103444c3e5fc9d83a5066cc97acd71402a Mon Sep 17 00:00:00 2001 From: Tyler Hawkins <3319104+tyzbit@users.noreply.github.com> Date: Mon, 15 Jun 2026 08:36:00 -0400 Subject: [PATCH] fix(widgets): show description even on smaller embeds Signed-off-by: Tyler Hawkins <3319104+tyzbit@users.noreply.github.com> --- src/components/NcRichText/NcReferenceWidget.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/NcRichText/NcReferenceWidget.vue b/src/components/NcRichText/NcReferenceWidget.vue index bcc415d90c..7b9ac4b074 100644 --- a/src/components/NcRichText/NcReferenceWidget.vue +++ b/src/components/NcRichText/NcReferenceWidget.vue @@ -73,8 +73,8 @@ const noAccess = computed(() => { }) const numberOfLines = computed(() => { - // no description for width < 450, one line until 550 and so on - const lineCountOffsets = [450, 550, 650, Infinity] + // no description for width < 250, one line until 550 and so on + const lineCountOffsets = [250, 550, 650, Infinity] return lineCountOffsets.findIndex((max) => width.value < max) }) @@ -293,7 +293,8 @@ function destroyReferenceWidget() { &--details { padding: calc(var(--default-grid-baseline, 4px) * 3); - width: 60%; + width: 0; + flex-grow: 1; p { margin: 0;