Skip to content

Commit 41b1f69

Browse files
committed
fix(settings): remove descriptions from sidebar navigation items
Fixes #179 - Settings dialog sidebar labels were breaking their "boxes" by showing both title and description. Now only the title is displayed in the sidebar buttons, while descriptions remain in the header area for the active category.
1 parent 85a9a78 commit 41b1f69

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

apps/web/components/dialogs/settings-dialog.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,7 @@ function SettingsContent() {
135135
className="w-full justify-start py-3 h-auto"
136136
>
137137
<category.icon className="size-4 mr-3" />
138-
<div className="flex flex-col items-start">
139-
<span className="font-medium">{category.title}</span>
140-
<span className="text-xs text-muted-foreground">{category.description}</span>
141-
</div>
138+
<span className="font-medium">{category.title}</span>
142139
</Button>
143140
))}
144141
</div>
@@ -184,10 +181,7 @@ function SettingsContent() {
184181
className="w-full justify-start py-3 h-auto"
185182
>
186183
<category.icon className="size-4 mr-3" />
187-
<div className="flex flex-col items-start">
188-
<span className="font-medium">{category.title}</span>
189-
<span className="text-xs text-muted-foreground">{category.description}</span>
190-
</div>
184+
<span className="font-medium">{category.title}</span>
191185
</Button>
192186
))}
193187
</div>

0 commit comments

Comments
 (0)