STYLE: ListRow ScrollBar

This commit is contained in:
EvanLin3141
2025-03-04 17:09:22 +00:00
parent 726ba83a98
commit b974ea09c5
2 changed files with 23 additions and 8 deletions

View File

@@ -47,7 +47,7 @@ const ListRow = forwardRef<ListRowRef, ListRowProps>((props, ref) => {
const [currentItems, setCurrentItems] = useState<ItemType[]>(items);
const slider = useRef<HTMLDivElement>(null);
const scrollAmount = window.innerWidth * 0.3;
const scrollAmount = window.innerWidth * 0.4;
const navigate = useNavigate();
const addMoreItems = (newItems: ItemType[]) => {