mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
Fix contribute GPU checkbox alignment
Remove pl-6 indent — the checkbox applies to both auto and join modes equally, not as a sub-option of a specific radio button. Signed-off-by: Michael Neale <michael.neale@gmail.com>
This commit is contained in:
@@ -457,19 +457,17 @@ export const MeshSettings = () => {
|
||||
)}
|
||||
|
||||
{(mode === 'auto' || mode === 'join') && (
|
||||
<div className="pl-6">
|
||||
<label className="flex items-center gap-2 cursor-pointer">
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={contributeGpu}
|
||||
onChange={(e) => setContributeGpu(e.target.checked)}
|
||||
/>
|
||||
<span className="text-sm text-text-default">
|
||||
Contribute GPU
|
||||
<span className="text-text-muted ml-1">(serve models for others too)</span>
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
<label className="flex items-center gap-2 cursor-pointer">
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={contributeGpu}
|
||||
onChange={(e) => setContributeGpu(e.target.checked)}
|
||||
/>
|
||||
<span className="text-sm text-text-default">
|
||||
Contribute GPU
|
||||
<span className="text-text-muted ml-1">(serve models for others too)</span>
|
||||
</span>
|
||||
</label>
|
||||
)}
|
||||
|
||||
<Button onClick={startMesh} disabled={checking} size="sm">
|
||||
|
||||
Reference in New Issue
Block a user