mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
[improvements] LeftSidebar Inspector (#4064)
* fixes: padding for inspector json
* fixes: padding for inspector json
* fixes: padding for inspector json
* adds {{}}: to copying the abs path
This commit is contained in:
parent
410ec82de2
commit
fb2540b4d8
3 changed files with 8 additions and 2 deletions
|
|
@ -162,7 +162,7 @@ export const LeftSidebarInspector = ({
|
|||
/>
|
||||
<div
|
||||
{...content}
|
||||
className={`card popover ${open || popoverPinned ? 'show' : 'hide'}`}
|
||||
className={`card popover left-sidebar-inspector ${open || popoverPinned ? 'show' : 'hide'}`}
|
||||
style={{ resize: 'horizontal', maxWidth: '60%', minWidth: '422px' }}
|
||||
>
|
||||
<SidebarPinnedButton
|
||||
|
|
|
|||
|
|
@ -336,6 +336,12 @@ button {
|
|||
border-width: 0px 0px 1px 0px;
|
||||
}
|
||||
}
|
||||
|
||||
.left-sidebar-inspector {
|
||||
.card-body {
|
||||
padding: 1rem 0rem 1rem 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.editor-sidebar {
|
||||
|
|
|
|||
|
|
@ -193,7 +193,7 @@ export class JSONTreeViewer extends React.Component {
|
|||
|
||||
buildMap(data);
|
||||
|
||||
return computeAbsolutePath(path);
|
||||
return `{{${computeAbsolutePath(path)}}}`;
|
||||
};
|
||||
|
||||
render() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue