Skip to content

Commit 42f8b3f

Browse files
fix(web): make settings sidebar sub-section buttons full width
The sub-section links under the active settings page rendered as content-sized buttons, so only the text itself was clickable. Stretch them to the full row so they are as easy to hit as the section buttons. Made with Claude Fable 5 in Claude Code Co-Authored-By: Claude Fable 5 <[email protected]>
1 parent fee2e0f commit 42f8b3f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/web/src/components/settings/SettingsSidebarNav.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ export function SettingsSidebarNav({ pathname }: { pathname: string }) {
353353
<SidebarMenuSubButton
354354
render={<button type="button" />}
355355
size="sm"
356-
className="text-sidebar-muted-foreground/65"
356+
className="w-full text-sidebar-muted-foreground/65"
357357
onClick={() => handlePageSectionClick(item.to, section.targetId)}
358358
>
359359
<span className="ms-0.5">{section.label}</span>

0 commit comments

Comments
 (0)