chore: cleanup
This commit is contained in:
@@ -53,7 +53,7 @@
|
|||||||
font-family: var(--font-family-sans);
|
font-family: var(--font-family-sans);
|
||||||
font-size: var(--font-size-base);
|
font-size: var(--font-size-base);
|
||||||
font-weight: var(--font-weight-medium);
|
font-weight: var(--font-weight-medium);
|
||||||
line-height: var(--line-height-large);
|
line-height: 20px;
|
||||||
min-height: 20px;
|
min-height: 20px;
|
||||||
|
|
||||||
[data-component="spinner"] {
|
[data-component="spinner"] {
|
||||||
|
|||||||
@@ -369,7 +369,6 @@ export function SessionTurn(
|
|||||||
if (queued()) return false
|
if (queued()) return false
|
||||||
if (status().type === "retry") return false
|
if (status().type === "retry") return false
|
||||||
if (showReasoningSummaries()) return assistantVisible() === 0
|
if (showReasoningSummaries()) return assistantVisible() === 0
|
||||||
if (assistantTailVisible() === "text") return false
|
|
||||||
return true
|
return true
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -85,7 +85,10 @@ export function createAutoScroll(options: AutoScrollOptions) {
|
|||||||
if (force && store.userScrolled) setStore("userScrolled", false)
|
if (force && store.userScrolled) setStore("userScrolled", false)
|
||||||
|
|
||||||
const distance = distanceFromBottom(el)
|
const distance = distanceFromBottom(el)
|
||||||
if (distance < 2) return
|
if (distance < 2) {
|
||||||
|
markAuto(el)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
// For auto-following content we prefer immediate updates to avoid
|
// For auto-following content we prefer immediate updates to avoid
|
||||||
// visible "catch up" animations while content is still settling.
|
// visible "catch up" animations while content is still settling.
|
||||||
|
|||||||
Reference in New Issue
Block a user