diff --git a/surfsense_web/components/layout/ui/right-panel/RightPanel.tsx b/surfsense_web/components/layout/ui/right-panel/RightPanel.tsx
index 83b7d5d1f..febae35d3 100644
--- a/surfsense_web/components/layout/ui/right-panel/RightPanel.tsx
+++ b/surfsense_web/components/layout/ui/right-panel/RightPanel.tsx
@@ -84,7 +84,7 @@ export function RightPanelExpandButton() {
variant="ghost"
size="icon"
onClick={() => startTransition(() => setCollapsed(false))}
- className="h-7 w-7 shrink-0"
+ className="h-8 w-8 shrink-0 -m-0.5"
>
Expand panel
diff --git a/surfsense_web/components/layout/ui/sidebar/DocumentsSidebar.tsx b/surfsense_web/components/layout/ui/sidebar/DocumentsSidebar.tsx
index aa409e179..8bd7d64ea 100644
--- a/surfsense_web/components/layout/ui/sidebar/DocumentsSidebar.tsx
+++ b/surfsense_web/components/layout/ui/sidebar/DocumentsSidebar.tsx
@@ -531,7 +531,8 @@ export function DocumentsSidebar({
const typeCounts = useMemo(() => {
const counts: Partial
> = {};
for (const d of treeDocuments) {
- counts[d.document_type] = (counts[d.document_type] || 0) + 1;
+ const displayType = d.document_type === "LOCAL_FOLDER_FILE" ? "FILE" : d.document_type;
+ counts[displayType] = (counts[displayType] || 0) + 1;
}
return counts;
}, [treeDocuments]);
@@ -746,7 +747,7 @@ export function DocumentsSidebar({
-