style(settings): improve section card body elevation and padding (#5457)

* style(settings): improve section card body elevation and padding

* test(settings): mock useShortcutKeyCombos in SettingsSidebar tests

Merged sidebar search PR (#5459) switched to ShortcutKeyCombo but the
test mock was not updated, breaking verify on downstream settings PRs.
This commit is contained in:
Neil
2026-06-15 21:49:10 -07:00
committed by GitHub
parent 6740c00351
commit 805f7a271d
2 changed files with 3 additions and 2 deletions
@@ -84,7 +84,7 @@ export function SettingsSection({
contained inside the section, not as a continuation of the sidebar. */}
<div
className={cn(
'rounded-xl border border-border/40 bg-card/30 px-8 py-7 shadow-[0_1px_0_rgba(0,0,0,0.02)]',
'rounded-xl border border-border/50 bg-card/50 px-7 py-6 shadow-xs',
bodyClassName
)}
>
@@ -12,7 +12,8 @@ const mocks = vi.hoisted(() => ({
}))
vi.mock('@/hooks/useShortcutLabel', () => ({
useShortcutLabel: () => '⌘F'
useShortcutLabel: () => '⌘F',
useShortcutKeyCombos: () => [['⌘', 'F']]
}))
vi.mock('./settings-setup-guide-progress', () => ({