[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:
Arpit 2022-09-20 10:14:24 +05:30 committed by GitHub
parent 410ec82de2
commit fb2540b4d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View file

@ -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

View file

@ -336,6 +336,12 @@ button {
border-width: 0px 0px 1px 0px;
}
}
.left-sidebar-inspector {
.card-body {
padding: 1rem 0rem 1rem 1rem;
}
}
}
.editor-sidebar {

View file

@ -193,7 +193,7 @@ export class JSONTreeViewer extends React.Component {
buildMap(data);
return computeAbsolutePath(path);
return `{{${computeAbsolutePath(path)}}}`;
};
render() {