diff --git a/frontend/src/sidebar/Sidebar.jsx b/frontend/src/sidebar/Sidebar.jsx
index 8da1924..2f6419b 100644
--- a/frontend/src/sidebar/Sidebar.jsx
+++ b/frontend/src/sidebar/Sidebar.jsx
@@ -29,12 +29,12 @@ const FolderNode = ({
}) => {
const isRoot = node.id === 'root';
const hasChildren = Boolean(node.hasChildren);
- const canToggle = !isRoot && (hasChildren || !node.loaded);
- const showChevron = !isRoot && (hasChildren || !node.loaded);
+ const canToggle = hasChildren || !node.loaded;
+ const showChevron = canToggle;
const icon = showChevron ? : null;
const canDrag = !isRoot;
const isDragging = draggingFolderId === node.id;
- const isExpanded = isRoot ? true : Boolean(node.expanded);
+ const isExpanded = Boolean(node.expanded);
const rowClasses = ['folder-row'];
if (isSelected) {
rowClasses.push('active');
@@ -66,14 +66,12 @@ const FolderNode = ({
}
}}
>
- {!isRoot && (
-
- {icon}
-
- )}
+
+ {icon}
+
{node.name}
diff --git a/frontend/src/styles.css b/frontend/src/styles.css
index 0673c7c..2fc3828 100644
--- a/frontend/src/styles.css
+++ b/frontend/src/styles.css
@@ -1095,9 +1095,7 @@ button.danger:hover:not([disabled]) {
padding: 0;
}
-.folder-children.folder-children--level1 {
- margin-left: 0;
-}
+
.sidebar-section {
margin-top: 1rem;