diff --git a/client/src/Components/Tree/ClassNode.tsx b/client/src/Components/Tree/ClassNode.tsx index 0468c5671..d1fc17ed9 100644 --- a/client/src/Components/Tree/ClassNode.tsx +++ b/client/src/Components/Tree/ClassNode.tsx @@ -19,10 +19,11 @@ const ClassNode = ({parentPath, pythonClass, selection, setSelection, moduleName const hasMethods = isEmptyList(pythonClass.methods); const path = parentPath.concat(pythonClass.name); const cssClasses = classNames( - "pl-3rem", "tree-view-row", - { + "tree-view-row", { "text-muted": !hasMethods, "cursor-na":!hasMethods, + "pl-3-5rem": !hasMethods, + "pl-3rem": hasMethods, "selected": (selection.join() === path.join()) && hasMethods, } );