diff --git a/surfsense_web/app/dashboard/[search_space_id]/team/page.tsx b/surfsense_web/app/dashboard/[search_space_id]/team/page.tsx index a3f644430..44b3f63b6 100644 --- a/surfsense_web/app/dashboard/[search_space_id]/team/page.tsx +++ b/surfsense_web/app/dashboard/[search_space_id]/team/page.tsx @@ -569,7 +569,7 @@ function MemberRow({ - e.preventDefault()} className="min-w-[180px] dark:bg-neutral-800 dark:border dark:border-neutral-700"> + e.preventDefault()} className="min-w-[120px] bg-muted dark:border dark:border-neutral-700"> {canManageRoles && roles .filter((r) => r.name !== "Owner") diff --git a/surfsense_web/components/report-panel/report-panel.tsx b/surfsense_web/components/report-panel/report-panel.tsx index 300920951..36a9b2443 100644 --- a/surfsense_web/components/report-panel/report-panel.tsx +++ b/surfsense_web/components/report-panel/report-panel.tsx @@ -334,7 +334,7 @@ function ReportPanelContent({ handleExport("md")}> Download Markdown @@ -361,56 +361,34 @@ function ReportPanelContent({ {/* Version switcher — only shown when multiple versions exist */} - {versions.length > 1 && - (insideDrawer ? ( - /* Mobile: compact dropdown */ - - - + + + {versions.map((v, i) => ( + setActiveReportId(v.id)} + className={v.id === activeReportId ? "bg-accent font-medium" : ""} > - v{activeVersionIndex + 1} - - - - - {versions.map((v, i) => ( - setActiveReportId(v.id)} - className={v.id === activeReportId ? "bg-accent font-medium" : ""} - > - Version {i + 1} - - ))} - - - ) : ( - /* Desktop: inline version buttons */ -
-
- {versions.map((v, i) => ( - - ))} -
- - {activeVersionIndex + 1} of {versions.length} - -
- ))} + Version {i + 1} +
+ ))} +
+ + )} {onClose && (