diff options
| author | Adam <[email protected]> | 2026-01-19 10:54:56 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2026-01-19 10:55:57 -0600 |
| commit | eb779a7cc5c1728471489a3304a6203716bd4d47 (patch) | |
| tree | 6095e7cb27ac93a5dfcd9402c3f0907e64c4ac9b /packages/ui/src/components/session-turn.css | |
| parent | c720a2163c38e7ac08cd130fbba84772ccb582b6 (diff) | |
| download | opencode-eb779a7cc5c1728471489a3304a6203716bd4d47.tar.gz opencode-eb779a7cc5c1728471489a3304a6203716bd4d47.zip | |
chore: cleanup
Diffstat (limited to 'packages/ui/src/components/session-turn.css')
| -rw-r--r-- | packages/ui/src/components/session-turn.css | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/packages/ui/src/components/session-turn.css b/packages/ui/src/components/session-turn.css index 556b357c3..5f8c0a16f 100644 --- a/packages/ui/src/components/session-turn.css +++ b/packages/ui/src/components/session-turn.css @@ -1,4 +1,6 @@ [data-component="session-turn"] { + --session-turn-sticky-height: 0px; + --sticky-header-height: calc(var(--session-title-height, 0px) + var(--session-turn-sticky-height, 0px) + 12px); /* flex: 1; */ height: 100%; min-height: 0; @@ -44,6 +46,12 @@ } } + [data-slot="session-turn-attachments"] { + width: 100%; + min-width: 0; + align-self: stretch; + } + [data-slot="session-turn-sticky"] { width: calc(100% + 9px); position: sticky; @@ -331,11 +339,10 @@ } [data-component="sticky-accordion-header"] { - top: var(--sticky-header-height, 40px); + top: var(--sticky-header-height, 0px); &[data-expanded]::before { - top: calc(-1 * var(--sticky-header-height, 40px)); + top: calc(-1 * var(--sticky-header-height, 0px)); } - /* position: static; */ } [data-slot="session-turn-accordion-trigger-content"] { |
