style(group-editor): size forge and log target controls

Keep source hosts, platform selectors and remove actions aligned without stretching short controls across the dialog. Wrap component roots explicitly so their internal markup cannot break the grid.
This commit is contained in:
翅膀 committed 2026-10-17 03:36:18 +08:00
1 parent 5b24c7ec27
commit 96f8fce9bf
3 files changed
+100 -79

No files matched your search

+15 -9
View File
@@ -719,6 +719,14 @@
@apply w-full;
}
.ctl-md {
@apply w-full max-w-64;
}
.ctl-stack {
@apply mt-2 flex w-full max-w-md flex-col gap-2;
}
.target-row {
@apply mb-2 grid grid-cols-[minmax(130px,1fr)_auto] items-center gap-2 rounded-sm border border-border bg-surface-2 p-2.5 max-sm:grid-cols-[1fr_auto];
grid-template-areas:
@@ -749,31 +757,29 @@
}
.forge-source-row {
@apply mb-2 grid items-center gap-2 rounded-sm border border-border bg-surface-2 p-2.5;
@apply mb-2 grid items-center gap-2 rounded-lg border border-border bg-surface-2 p-2.5;
grid-template-areas:
"host type del"
"name name name";
grid-template-columns: 1fr auto auto;
grid-template-columns: minmax(0, 1fr) 8rem auto;
}
.forge-source-row .f-host {
grid-area: host;
}
.forge-source-row .select.forge-type {
.forge-source-row .f-type {
grid-area: type;
@apply w-[110px];
}
.forge-source-row .f-del {
grid-area: del;
}
.forge-source-row .f-name {
grid-area: name;
}
.forge-source-row > .icon-btn {
grid-area: del;
justify-self: end;
}
.node-editor {
@apply mb-1;
}