add switches widgets and use friendly names

This commit is contained in:
Josh Hawkins
2026-02-27 09:37:57 -06:00
parent f25b69e3eb
commit 72ab1f93b5
13 changed files with 354 additions and 19 deletions
+1 -1
View File
@@ -264,7 +264,7 @@ const CameraConfigContent = memo(function CameraConfigContent({
<button
onClick={() => setActiveSection(section.key)}
className={cn(
"flex w-full items-center justify-between rounded-md px-3 py-2 text-sm transition-colors",
"flex w-full items-center justify-between rounded-md px-3 py-2 text-left text-sm transition-colors",
activeSection === section.key
? "bg-accent text-accent-foreground"
: "hover:bg-muted",
+1 -1
View File
@@ -414,7 +414,7 @@ export default function GlobalConfigView() {
<button
onClick={() => setActiveSection(section.key)}
className={cn(
"flex w-full items-center justify-between rounded-md px-3 py-2 text-sm transition-colors",
"flex w-full items-center justify-between rounded-md px-3 py-2 text-left text-sm transition-colors",
activeSection === section.key
? "bg-accent text-accent-foreground"
: "hover:bg-muted",