Skip to content

Commit

Permalink
added auto-width css
Browse files Browse the repository at this point in the history
  • Loading branch information
Taylor Grafft committed Nov 15, 2023
1 parent d8f8909 commit 2ec14bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,7 @@ const BreadcrumbsDropdown = ({
<span className="multiline-menu-item-wrapper">
{scheme === 'projects'
? 'Shared Workspaces'
: (systemName.length > 20
? systemName.substring(0, 20)
: systemName) || 'Shared Workspaces'}
: systemName || 'Shared Workspaces'}
{homeDir ? <small>Root</small> : null}
</span>
</DropdownItem>
Expand Down
3 changes: 2 additions & 1 deletion client/src/styles/components/dropdown-menu.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ Styleguide Components.Dropdown
border-radius: 0;
margin-top: 11px;
padding: 0;
width: 200px;
min-width: 200px;
width: auto;
vertical-align: top;
}
.dropdown-menu::before,
Expand Down

0 comments on commit 2ec14bb

Please sign in to comment.