agents: keep the tray panel's control-sized pills
The lined-up columns only suit the wide window: in the narrow menu bar panel a solo control spanning both columns is what keeps a long model id readable, so scope the fill to body.window and leave the panel as it was.
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user