mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-10-13 12:52:13 -03:00
fix(settings): keep match-type chip compact in download root rule rows
.mapping-controls is a 3-column grid (1fr 1fr auto) built for the path mapping rows; rule rows have 4 children, so the chip stretched to fill its 1fr track and the action buttons wrapped to an implicit second row. Give .download-root-rule-controls an explicit 4-column template and pin the chip to its natural width.
This commit is contained in:
@@ -695,7 +695,15 @@
|
|||||||
margin-top: var(--space-1);
|
margin-top: var(--space-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Rule rows have 4 children (chip, summary toggle, root select, actions);
|
||||||
|
override the 3-column .mapping-controls grid so the chip keeps its
|
||||||
|
natural width and the actions stay on the same row. */
|
||||||
|
.download-root-rule-controls {
|
||||||
|
grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.2fr) auto;
|
||||||
|
}
|
||||||
|
|
||||||
.download-root-rule-match-chip {
|
.download-root-rule-match-chip {
|
||||||
|
justify-self: start;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
padding: 2px 8px;
|
padding: 2px 8px;
|
||||||
border-radius: var(--border-radius-xs);
|
border-radius: var(--border-radius-xs);
|
||||||
|
|||||||
Reference in New Issue
Block a user