Reduce padding of DownloadQueue items
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user