diff --git a/libs/remix-ui/tree-view/src/lib/remix-ui-tree-view.css b/libs/remix-ui/tree-view/src/lib/remix-ui-tree-view.css index 97b2f4fd48..9064c46880 100644 --- a/libs/remix-ui/tree-view/src/lib/remix-ui-tree-view.css +++ b/libs/remix-ui/tree-view/src/lib/remix-ui-tree-view.css @@ -21,11 +21,12 @@ } .label_item { word-break: break-all; + max-width: 90%; } .label_key { - min-width: max-content; - max-width: 80%; + max-width: 65%; word-break: break-word; + min-width: fit-content; } .label_value { min-width: 10%; diff --git a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx index c63d9f6c6f..2d2ce7dd28 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -196,103 +196,103 @@ export function Workspace () { - - - - - - - + + - - - { selectedWorkspace ? selectedWorkspace.name : currentWorkspace === LOCALHOST ? 'localhost' : NO_WORKSPACE } - + + + + + + + + + { selectedWorkspace ? selectedWorkspace.name : currentWorkspace === LOCALHOST ? 'localhost' : NO_WORKSPACE } + - - { - global.fs.browser.workspaces.map(({ name, isGitRepo }, index) => ( - { - switchWorkspace(name) - }} - data-id={`dropdown-item-${name}`} - > - { isGitRepo ? -
- { currentWorkspace === name ? ✓ { name } : { name } } - -
: + + { + global.fs.browser.workspaces.map(({ name, isGitRepo }, index) => ( + { + switchWorkspace(name) + }} + data-id={`dropdown-item-${name}`} + > + { isGitRepo ? +
{ currentWorkspace === name ? ✓ { name } : { name } } - } - - )) - } - { switchWorkspace(LOCALHOST) }}>{currentWorkspace === LOCALHOST ? ✓ localhost : { LOCALHOST } } - { ((global.fs.browser.workspaces.length <= 0) || currentWorkspace === NO_WORKSPACE) && { switchWorkspace(NO_WORKSPACE) }}>{ NO_WORKSPACE } } - - + +
: + { currentWorkspace === name ? ✓ { name } : { name } } + } +
+ )) + } + { switchWorkspace(LOCALHOST) }}>{currentWorkspace === LOCALHOST ? ✓ localhost : { LOCALHOST } } + { ((global.fs.browser.workspaces.length <= 0) || currentWorkspace === NO_WORKSPACE) && { switchWorkspace(NO_WORKSPACE) }}>{ NO_WORKSPACE } } +
+