mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-26 23:28:43 +00:00
fix(session-ui): keep the View code button on an open execute call's title line (#66519)
This commit is contained in:
parent
3331136a63
commit
e927e98f06
1 changed files with 5 additions and 3 deletions
|
|
@ -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"] {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue