From e6f158e4456315b2a99c0565c2fadd64a93e5566 Mon Sep 17 00:00:00 2001 From: Matthias Metelka <62722460+kleinerpirat@users.noreply.github.com> Date: Thu, 23 Jun 2022 05:32:07 +0200 Subject: [PATCH] Fix descriptions overflowing field (#1925) --- ts/editor/rich-text-input/RichTextInput.svelte | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ts/editor/rich-text-input/RichTextInput.svelte b/ts/editor/rich-text-input/RichTextInput.svelte index a5e3da25a..27cbb9ade 100644 --- a/ts/editor/rich-text-input/RichTextInput.svelte +++ b/ts/editor/rich-text-input/RichTextInput.svelte @@ -253,5 +253,9 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html /* Adopts same size as the content editable element */ width: 100%; height: 100%; + /* Keep text on single line and hide overflow */ + white-space: nowrap; + overflow-x: hidden; + text-overflow: ellipsis; }