Remove border containers from workspace fields in new project dialog

Strip the rounded-border card wrappers from repo URL and local folder
fields so they sit directly in the section. Add pt-3 to the section
so the first field doesn't touch the border-t above it.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
dotta
2026-03-19 07:26:28 -05:00
parent 25af0a1532
commit bcc1d9f3d6

View File

@@ -258,8 +258,8 @@ export function NewProjectDialog() {
/> />
</div> </div>
<div className="px-4 pb-3 space-y-3 border-t border-border"> <div className="px-4 pt-3 pb-3 space-y-3 border-t border-border">
<div className="rounded-md border border-border p-2"> <div>
<div className="mb-1 flex items-center gap-1.5"> <div className="mb-1 flex items-center gap-1.5">
<label className="block text-xs text-muted-foreground">Repo URL</label> <label className="block text-xs text-muted-foreground">Repo URL</label>
<span className="text-xs text-muted-foreground/50">optional</span> <span className="text-xs text-muted-foreground/50">optional</span>
@@ -280,7 +280,7 @@ export function NewProjectDialog() {
/> />
</div> </div>
<div className="rounded-md border border-border p-2"> <div>
<div className="mb-1 flex items-center gap-1.5"> <div className="mb-1 flex items-center gap-1.5">
<label className="block text-xs text-muted-foreground">Local folder</label> <label className="block text-xs text-muted-foreground">Local folder</label>
<span className="text-xs text-muted-foreground/50">optional</span> <span className="text-xs text-muted-foreground/50">optional</span>