diff --git a/apps/remix-ide/src/app/ui/TreeView.js b/apps/remix-ide/src/app/ui/TreeView.js index 413f49f667..a282cafbd6 100644 --- a/apps/remix-ide/src/app/ui/TreeView.js +++ b/apps/remix-ide/src/app/ui/TreeView.js @@ -27,7 +27,7 @@ var css = csjs` word-break: break-all; } .label_key { - min-width: 15%; + min-width: max-content; max-width: 80%; word-break: break-word; } 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 7e8fbee405..97b2f4fd48 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 @@ -23,7 +23,7 @@ word-break: break-all; } .label_key { - min-width: 15%; + min-width: max-content; max-width: 80%; word-break: break-word; }