From b8e8889959ff3b06ce4539ce0bedc5769e5ffec8 Mon Sep 17 00:00:00 2001 From: Joe Pavitt Date: Tue, 7 May 2024 15:58:58 +0100 Subject: [PATCH] UI Text - Improve rendering of overflowing content --- ui/src/widgets/ui-text/UIText.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ui/src/widgets/ui-text/UIText.vue b/ui/src/widgets/ui-text/UIText.vue index 00a2e5c58..a52f1514c 100644 --- a/ui/src/widgets/ui-text/UIText.vue +++ b/ui/src/widgets/ui-text/UIText.vue @@ -36,9 +36,15 @@ export default { gap: 2px; font-size: 1rem; font-family: Helvetica; + flex-wrap: wrap; + overflow: hidden; + text-overflow: ellipsis; } .nrdb-ui-text-value { font-weight: 600; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } /* Layouts */