fix(session-ui): keep the View code button on an open execute call's title line (#66519)

This commit is contained in:
Dan Smolsky 2026-11-25 23:07:59 -05:00 • committed by GitHub
parent 3331136a63
commit e927e98f06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -381,7 +381,7 @@
[data-component="collapsed-tool-group"] > [data-component="collapsible"].tool-collapsible {
--tool-content-gap: var(--timeline-gap-s);
gap: 0;
row-gap: 0;
> [data-slot="collapsible-trigger"] {
height: calc(var(--line-height-compact) + 12px);
@ -463,7 +463,7 @@
/* An open row's nested content starts the small gap below its header. */
[data-component="collapsible"].tool-collapsible:has(> [data-slot="collapsible-content"]) {
gap: 0;
row-gap: 0;
> [data-slot="collapsible-trigger"][aria-expanded="true"] {
margin-bottom: 0;
@ -488,8 +488,10 @@
}
}
/* A row's action is as tall as its line, so its button never makes the row taller. */
/* A row's action is as tall as its line, so its button never makes the row taller. It sits at the top, on the line
of text, because an open header also holds the gap below it. */
[data-slot="basic-tool-action"] {
align-self: flex-start;
height: var(--line-height-compact);
[data-component="icon-button-v2"] {