From d43ee3484f3e7cdacdb6079794c41be344e5445a Mon Sep 17 00:00:00 2001 From: Salam Dalloul Date: Mon, 19 Jun 2023 23:11:04 +0200 Subject: [PATCH] #61 fix nesting files issue --- .../rightSidebar/TreeView/TreeViewItem.js | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/src/client/components/views/editView/rightSidebar/TreeView/TreeViewItem.js b/src/client/components/views/editView/rightSidebar/TreeView/TreeViewItem.js index 7b33620b..12888743 100644 --- a/src/client/components/views/editView/rightSidebar/TreeView/TreeViewItem.js +++ b/src/client/components/views/editView/rightSidebar/TreeView/TreeViewItem.js @@ -9,7 +9,6 @@ import { HiddenIcon, TargetIcon } from './Icons'; const CustomTreeItem = styled((props) => )( ({ theme }) => ({ [`& .${treeItemClasses.content}`]: { - paddingLeft: '0.25rem', borderWidth: '1px', height: '2.25rem', borderStyle: 'solid', @@ -26,30 +25,13 @@ const CustomTreeItem = styled((props) => )( 0.1 )})`, color: 'var(--tree-view-color)', - - [`& + .${treeItemClasses.group}`]: { - // marginLeft: 0, - backgroundColor: alpha(theme.palette.primary.main, 0.03), - // [`& .${treeItemClasses.content}`]: { - // paddingLeft: theme.spacing(4), - // }, - }, }, }, [`& .${treeItemClasses.iconContainer}`]: { - marginRight: '0.188rem', '& .close': { opacity: 0.3, }, }, - // [`& .${treeItemClasses.group}`]: { - // adjust margin it nest list spacing isn't consistent - // marginLeft: 0, - // marginLeft: 0, - // [`& .${treeItemClasses.content}`]: { - // paddingLeft: theme.spacing(3), - // }, - // }, [`& .${treeItemClasses.focused}`]: { backgroundColor: `var(--tree-view-bg-color, ${alpha( theme.palette.primary.main, @@ -57,9 +39,6 @@ const CustomTreeItem = styled((props) => )( )})`, color: 'var(--tree-view-color)', }, - [`& .${treeItemClasses.label}`]: { - paddingLeft: 0, - }, }) );