diff --git a/src-web/components/core/AutoScroller.tsx b/src-web/components/core/AutoScroller.tsx index f0d5a04e..d3bf5336 100644 --- a/src-web/components/core/AutoScroller.tsx +++ b/src-web/components/core/AutoScroller.tsx @@ -55,12 +55,12 @@ export function AutoScroller({ data, render, header }: Props) { size="sm" iconSize="md" variant="border" - className={'!bg-surface z-10'} + className="!bg-surface z-10" onClick={() => setAutoScroll((v) => !v)} /> )} - {header ?? } + {header ?? }
({ data, render, header }: Props) { top: 0, left: 0, width: '100%', - height: `${virtualItem.size * 1000}px`, + height: `${virtualItem.size}px`, transform: `translateY(${virtualItem.start}px)`, }} >