Reduce padding of DownloadQueue items

This commit is contained in:
schroda
2024-05-23 14:03:59 +02:00
parent bbe8a56779
commit fee93c22eb

View File

@@ -55,7 +55,7 @@ const DownloadChapterItem = ({
const { t } = useTranslation(); const { t } = useTranslation();
return ( return (
<Box {...provided.draggableProps} {...provided.dragHandleProps} ref={provided.innerRef} sx={{ p: 1, pb: 2 }}> <Box {...provided.draggableProps} {...provided.dragHandleProps} ref={provided.innerRef} sx={{ pt: 1, px: 1 }}>
<Card <Card
sx={{ sx={{
backgroundColor: isDragging ? 'custom.light' : undefined, backgroundColor: isDragging ? 'custom.light' : undefined,
@@ -252,7 +252,7 @@ export const DownloadQueue: React.FC = () => {
)} )}
> >
{(droppableProvided) => ( {(droppableProvided) => (
<Box ref={droppableProvided.innerRef} sx={{ pt: 1 }}> <Box ref={droppableProvided.innerRef}>
<Virtuoso <Virtuoso
useWindowScroll useWindowScroll
overscan={window.innerHeight * 0.5} overscan={window.innerHeight * 0.5}