wip(desktop): progress

thinking-toggle-wip
Adam 2025-12-15 05:19:20 -06:00 committed by Aiden Cline
parent c8e1950522
commit 0a556bb646
2 changed files with 2 additions and 1 deletions

View File

@ -112,6 +112,7 @@
padding: 4px 10px;
align-items: center;
color: var(--text-strong);
scroll-margin-top: 28px;
/* text-14-medium */
font-family: var(--font-family-sans);

View File

@ -79,7 +79,7 @@ export function List<T>(props: ListProps<T> & { ref?: (ref: ListRef) => void })
return
}
const element = scrollRef()?.querySelector(`[data-key="${active()}"]`)
element?.scrollIntoView({ block: "nearest", behavior: "smooth" })
element?.scrollIntoView({ block: "center", behavior: "smooth" })
})
const handleSelect = (item: T | undefined, index: number) => {