diff options
| author | David Hill <[email protected]> | 2025-12-16 16:35:57 +0000 |
|---|---|---|
| committer | David Hill <[email protected]> | 2025-12-16 16:35:57 +0000 |
| commit | 1f18f389c0c0b770ec90d2bd653487a8965ed130 (patch) | |
| tree | 1d4e8b56a99738e0d6701b17de6aee401bb07ff1 /packages/ui/src/components | |
| parent | be8116e2ea3aed66c9d63e0cac2af47bd3e91be5 (diff) | |
| download | opencode-1f18f389c0c0b770ec90d2bd653487a8965ed130.tar.gz opencode-1f18f389c0c0b770ec90d2bd653487a8965ed130.zip | |
wip: make the default container wider
Diffstat (limited to 'packages/ui/src/components')
| -rw-r--r-- | packages/ui/src/components/session-message-rail.css | 4 | ||||
| -rw-r--r-- | packages/ui/src/components/session-turn.css | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/packages/ui/src/components/session-message-rail.css b/packages/ui/src/components/session-message-rail.css index 03f0bb3ef..0e7ab96a1 100644 --- a/packages/ui/src/components/session-message-rail.css +++ b/packages/ui/src/components/session-message-rail.css @@ -17,7 +17,7 @@ display: none; } -@container (min-width: 72rem) { +@container (min-width: 84.75rem) { [data-slot="session-message-rail-compact"] { display: none; } @@ -32,7 +32,7 @@ [data-component="session-message-rail"][data-wide] [data-slot="session-message-rail-full"] { margin-top: 0.125rem; - left: calc(((100% - min(100%, 36.5rem)) / 2) - 1.5rem); + left: calc(((100% - min(100%, 800px)) / 2) - 1.5rem); transform: translateX(-100%); } diff --git a/packages/ui/src/components/session-turn.css b/packages/ui/src/components/session-turn.css index 4b8a44723..ba9f97ad2 100644 --- a/packages/ui/src/components/session-turn.css +++ b/packages/ui/src/components/session-turn.css @@ -27,6 +27,7 @@ align-items: flex-start; align-self: stretch; min-width: 0; + max-width: 800px; gap: clamp(8px, calc(42px - var(--scroll-y) * 0.48), 42px); overflow-anchor: none; } |
