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:
@@ -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', () => ({
|
||||
|
||||
Reference in New Issue
Block a user