Skip to content

Commit

Permalink
fixed text overflow for longer system labels(systemName)
Browse files Browse the repository at this point in the history
  • Loading branch information
Taylor Grafft committed Nov 15, 2023
1 parent 1af7c8f commit d8f8909
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ const BreadcrumbsDropdown = ({
<span className="multiline-menu-item-wrapper">
{scheme === 'projects'
? 'Shared Workspaces'
: systemName || 'Shared Workspaces'}
: (systemName.length > 20
? systemName.substring(0, 20)
: systemName) || 'Shared Workspaces'}
{homeDir ? <small>Root</small> : null}
</span>
</DropdownItem>
Expand Down

0 comments on commit d8f8909

Please sign in to comment.