diff options
| author | Adam <[email protected]> | 2025-12-13 06:51:24 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-12-13 14:57:24 -0600 |
| commit | a6e297baadc6c19a566a69da92c7fb2010f40977 (patch) | |
| tree | d71e80f8a8f60e5ca6683c4a64fd3aa46c8e7c3b /packages/ui | |
| parent | 307af10c8bad1eb90288df5447275bb1b65cebc7 (diff) | |
| download | opencode-a6e297baadc6c19a566a69da92c7fb2010f40977.tar.gz opencode-a6e297baadc6c19a566a69da92c7fb2010f40977.zip | |
feat(desktop): message history
Diffstat (limited to 'packages/ui')
| -rw-r--r-- | packages/ui/src/components/button.css | 2 | ||||
| -rw-r--r-- | packages/ui/src/components/session-turn.tsx | 3 | ||||
| -rw-r--r-- | packages/ui/src/styles/animations.css | 4 |
3 files changed, 4 insertions, 5 deletions
diff --git a/packages/ui/src/components/button.css b/packages/ui/src/components/button.css index c5bd2c696..7aba89b03 100644 --- a/packages/ui/src/components/button.css +++ b/packages/ui/src/components/button.css @@ -148,7 +148,7 @@ padding: 0 12px 0 8px; } - gap: 4px; + gap: 8px; /* text-14-medium */ font-family: var(--font-family-sans); diff --git a/packages/ui/src/components/session-turn.tsx b/packages/ui/src/components/session-turn.tsx index 361a5cac0..07946ed79 100644 --- a/packages/ui/src/components/session-turn.tsx +++ b/packages/ui/src/components/session-turn.tsx @@ -81,7 +81,6 @@ export function SessionTurn( createResizeObserver(contentRef, () => { if (!scrollRef || userScrolled() || !working()) return requestAnimationFrame(() => { - if (!scrollRef) return scrollRef.scrollTop = scrollRef.scrollHeight }) }) @@ -266,7 +265,7 @@ export function SessionTurn( </div> </div> </div> - {/* User Message (non-sticky, scrolls under sticky header) */} + {/* User Message */} <div data-slot="session-turn-message-content"> <Message message={message()} parts={parts()} /> </div> diff --git a/packages/ui/src/styles/animations.css b/packages/ui/src/styles/animations.css index 0ae3493eb..3480976dd 100644 --- a/packages/ui/src/styles/animations.css +++ b/packages/ui/src/styles/animations.css @@ -5,7 +5,7 @@ @keyframes pulse-opacity { 0%, 100% { - opacity: 0; + opacity: 0.4; } 50% { opacity: 1; @@ -18,7 +18,7 @@ opacity: 0; } 50% { - opacity: 0.3; + opacity: 0.2; } } |
