From 4c810901c3504712f91b4dc10e572862ff826c02 Mon Sep 17 00:00:00 2001 From: sascha10000 Date: Thu, 9 Jun 2022 23:48:34 +0200 Subject: [PATCH] -Added ellipsis in column and line-break in the InfoPanel --- app/components/Column.tsx | 2 +- app/components/InfoHeader.tsx | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/components/Column.tsx b/app/components/Column.tsx index 758c218..faffa8f 100644 --- a/app/components/Column.tsx +++ b/app/components/Column.tsx @@ -27,7 +27,7 @@ function ColumnElement(column: ColumnProps) { >
{column.icon && } - {title} + {title}
- - {selectedName ?? "nothing"} + <Title className="flex-1 mr-2 overflow-hidden overflow-ellipsis break-words text-slate-700 transition dark:text-slate-200"> + { selectedName ?? "nothing" }