diff --git a/internal/gui/assets/app.css b/internal/gui/assets/app.css index ab0e09797..a34040cac 100644 --- a/internal/gui/assets/app.css +++ b/internal/gui/assets/app.css @@ -174,6 +174,14 @@ body.panel .fields { width: 272px; grid-template-columns: minmax(0, 1fr) 118px; body.panel .field { height: 24px; font-size: 12px; box-shadow: inset 0 0 0 1px var(--pill-line), var(--pill-shadow); } body.panel .field:hover { box-shadow: inset 0 0 0 1px var(--pill-line), var(--pill-shadow); } body.panel .field.open { box-shadow: inset 0 0 0 1px var(--accent), var(--pill-shadow); } +/* the tray panel keeps control-sized pills: a solo control spans both columns + and hugs the right — an economy the narrow panel wants */ +.field.main, .field.solo { justify-self: end; } +.field.solo { grid-column: 1 / -1; } +/* in the window the chips fill their column, so every chip and chevron lines + up down the list and the model always sits in the same place */ +body.window .field.main, body.window .field.solo { justify-self: stretch; } +body.window .field.solo { grid-column: auto; } .field:hover, .field.open { background: var(--pill-hover); } .field.open { box-shadow: inset 0 0 0 1px var(--accent); } .row .field .ic, body.window .row .field .ic { width: 14px; height: 14px; }