@@ -25,12 +25,12 @@ export function PathModeSelector({ capturePath, onPathChange, mode, onModeChange
2525 < div className = "space-y-4" >
2626 { /* 采集路径 */ }
2727 < div >
28- < span className = "text-b3 font-medium text-text-tertiary block mb-2 " > 采集路径</ span >
28+ < span className = "text-b3 font-medium text-text-tertiary block mb-1.5 " > 采集路径</ span >
2929 < div className = "flex flex-col gap-1.5" >
3030 { PATH_OPTIONS . map ( ( { value, label, icon : PathIcon , brief } ) => (
3131 < button key = { value } onClick = { ( ) => onPathChange ( value ) } disabled = { disabled }
3232 className = { cn (
33- 'flex items-center gap-2.5 px-3 py-2 rounded-kb-md text-left transition-all border' ,
33+ 'flex items-center gap-2.5 px-3 py-1.5 rounded-kb-md text-left transition-all border' ,
3434 capturePath === value
3535 ? 'bg-brand-50 border-brand-200/60 shadow-kb-sm'
3636 : 'border-transparent hover:bg-bg-tertiary/50' ,
@@ -53,12 +53,12 @@ export function PathModeSelector({ capturePath, onPathChange, mode, onModeChange
5353
5454 { /* 采集模式 */ }
5555 < div >
56- < span className = "text-b3 font-medium text-text-tertiary block mb-2 " > 采集模式</ span >
56+ < span className = "text-b3 font-medium text-text-tertiary block mb-1.5 " > 采集模式</ span >
5757 < div className = "flex items-center gap-1" >
5858 { MODE_OPTIONS . map ( ( { value, label, icon : ModeIcon } ) => (
5959 < button key = { value } onClick = { ( ) => onModeChange ( value ) } disabled = { disabled }
6060 className = { cn (
61- 'flex-1 inline-flex items-center justify-center gap-1.5 py-2 rounded-kb-sm text-b3 font-medium transition-all' ,
61+ 'flex-1 inline-flex items-center justify-center gap-1.5 py-1.5 rounded-kb-sm text-b3 font-medium transition-all' ,
6262 mode === value
6363 ? 'bg-brand-50 text-brand-600 ring-1 ring-brand-200/50'
6464 : 'text-text-tertiary hover:text-text-secondary hover:bg-bg-tertiary/50' ,
0 commit comments