From d8f890945510092fea4a1567870600243344981f Mon Sep 17 00:00:00 2001 From: Taylor Grafft Date: Wed, 15 Nov 2023 14:07:45 -0600 Subject: [PATCH] fixed text overflow for longer system labels(systemName) --- .../DataFiles/DataFilesDropdown/DataFilesDropdown.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/components/DataFiles/DataFilesDropdown/DataFilesDropdown.jsx b/client/src/components/DataFiles/DataFilesDropdown/DataFilesDropdown.jsx index 246f72788..48b1a3da4 100644 --- a/client/src/components/DataFiles/DataFilesDropdown/DataFilesDropdown.jsx +++ b/client/src/components/DataFiles/DataFilesDropdown/DataFilesDropdown.jsx @@ -126,7 +126,9 @@ const BreadcrumbsDropdown = ({ {scheme === 'projects' ? 'Shared Workspaces' - : systemName || 'Shared Workspaces'} + : (systemName.length > 20 + ? systemName.substring(0, 20) + : systemName) || 'Shared Workspaces'} {homeDir ? Root : null}