From 308c7adf19c48d19bc8f7ea2cf99e30af0d36134 Mon Sep 17 00:00:00 2001 From: lianahus Date: Tue, 30 Aug 2022 08:30:59 +0200 Subject: [PATCH 1/2] side panel paddings --- libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 09d6ac883d..49b0fe35d8 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -188,11 +188,11 @@ export function Workspace () { } return ( -
+
-
+
From 3e28a6df517400630d6a422e03b666cebdb34055 Mon Sep 17 00:00:00 2001 From: lianahus Date: Tue, 30 Aug 2022 10:01:44 +0200 Subject: [PATCH 2/2] fixing debugger ui --- .../tree-view/src/lib/remix-ui-tree-view.css | 5 +- .../workspace/src/lib/remix-ui-workspace.tsx | 190 +++++++++--------- 2 files changed, 98 insertions(+), 97 deletions(-) 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 49b0fe35d8..81ff776435 100644 --- a/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx +++ b/libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx @@ -188,7 +188,7 @@ export function Workspace () { } return ( -
+
@@ -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 } } +
+