chore: format

This commit is contained in:
ryan
2026-08-26 15:13:23 +08:00
parent 2b69f4d8d7
commit 81739f9cb4
13 changed files with 26 additions and 14 deletions
@@ -165,7 +165,10 @@ export function SQLConsole({ dbType, onClose }: SQLConsoleProps) {
{t('quickTemplates')}
</span>
<Select onValueChange={handlePresetSQLChange}>
<SelectTrigger aria-label={t('selectPresetSQL')} className='h-7 w-[180px] text-[11px] bg-background'>
<SelectTrigger
aria-label={t('selectPresetSQL')}
className='h-7 w-[180px] text-[11px] bg-background'
>
<SelectValue placeholder={t('selectPresetSQL')} />
</SelectTrigger>
<SelectContent>
@@ -140,7 +140,10 @@ export function TableBrowser({
<Skeleton className='h-8 w-48' />
) : (
<Select value={selectedTable} onValueChange={handleTableChange}>
<SelectTrigger aria-label={t('selectTable')} className='h-8 w-[200px] text-xs bg-background border-border/40'>
<SelectTrigger
aria-label={t('selectTable')}
className='h-8 w-[200px] text-xs bg-background border-border/40'
>
<SelectValue placeholder={t('selectTable')} />
</SelectTrigger>
<SelectContent className='max-h-[300px]'>
+1 -1
View File
@@ -269,7 +269,7 @@ export function SystemConfigs() {
'h-full rounded-sm text-[11px] font-medium transition-colors',
activeTab === tab
? 'bg-background shadow-sm text-foreground'
: 'text-muted-foreground hover:text-foreground'
: 'text-muted-foreground hover:text-foreground',
)}
>
{tab === 'business' ? t('businessConfig') : t('systemConfig')}
@@ -222,7 +222,11 @@ export function SyncTasksPanel() {
setPage(1);
}}
>
<SelectTrigger size='sm' className='w-[120px]' aria-label={t('statusPlaceholder')}>
<SelectTrigger
size='sm'
className='w-[120px]'
aria-label={t('statusPlaceholder')}
>
<SelectValue placeholder={t('statusPlaceholder')} />
</SelectTrigger>
<SelectContent>
@@ -96,7 +96,11 @@ export function DashboardStatCards({
{t('onlineOf', { total: summary.total_nodes })}
</span>
</div>
<Progress value={onlineRate} aria-label={t('nodeOverview')} className='h-1.5' />
<Progress
value={onlineRate}
aria-label={t('nodeOverview')}
className='h-1.5'
/>
<p className='text-[10px] text-muted-foreground flex flex-wrap items-center gap-x-3 gap-y-1'>
<span className='inline-flex items-center gap-1'>
<Users className='size-3' />
+1 -1
View File
@@ -1462,4 +1462,4 @@
}
}
}
}
}
+1 -1
View File
@@ -1462,4 +1462,4 @@
}
}
}
}
}