style(web): UI kit 组件与画布/后台面板 Prettier 格式化与 migrations.go gofmt 清理
This commit is contained in:
1 parent
7fef6a297b
commit
3da49bd0da
25 files changed
+123
-322
No files matched your search
@@ -99,9 +99,18 @@ export default function DiagnosticsPanel({ taskId, projectId }: DiagnosticsPanel
|
||||
<span className="rounded-full bg-foreground/[.045] px-2.5 py-1 text-[var(--fs-tiny)] font-medium text-foreground/48">最长 24 小时</span>
|
||||
</div>
|
||||
<div className="mt-4 grid gap-4 md:grid-cols-[minmax(0,230px)_minmax(0,1fr)] md:items-end">
|
||||
<label className="block">
|
||||
<label className="block">
|
||||
<span className="mb-2 block text-xs font-semibold text-foreground/65">时间范围</span>
|
||||
<Select ariaLabel="时间范围" className="w-full" value={range} options={rangeOptions} onChange={(value) => { const next = rangeOptions.find((option) => option.value === value)?.value; if (next) setRange(next); }} />
|
||||
<Select
|
||||
ariaLabel="时间范围"
|
||||
className="w-full"
|
||||
value={range}
|
||||
options={rangeOptions}
|
||||
onChange={(value) => {
|
||||
const next = rangeOptions.find((option) => option.value === value)?.value;
|
||||
if (next) setRange(next);
|
||||
}}
|
||||
/>
|
||||
</label>
|
||||
<div className="rounded-lg border border-border/55 bg-foreground/[.025] px-3.5 py-3" aria-live="polite">
|
||||
<div className="flex items-center gap-2 text-sm font-medium text-foreground/78">
|
||||
|
||||
Reference in new issue
Block a user