mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 16:05:47 +01:00
🐛 Fix bug with Downloadmodule width
This commit is contained in:
@@ -189,23 +189,17 @@ export default function DownloadComponent() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Stack mt="xl">
|
<ScrollArea mt="xl" sx={{ height: 300, width: '100%' }}>
|
||||||
<ScrollArea sx={{ height: 300 }}>
|
{rows.length > 0 ? (
|
||||||
{rows.length > 0 ? (
|
<Table highlightOnHover>
|
||||||
<Table highlightOnHover>
|
<thead>{ths}</thead>
|
||||||
<thead>{ths}</thead>
|
<tbody>{rows}</tbody>
|
||||||
<tbody>{rows}</tbody>
|
</Table>
|
||||||
</Table>
|
) : (
|
||||||
) : (
|
<Center style={{ display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
|
||||||
<Center style={{ display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
|
<Image fit="cover" height={300} src="https://danjohnvelasco.github.io/images/empty.png" />
|
||||||
<Image
|
</Center>
|
||||||
fit="cover"
|
)}
|
||||||
height={300}
|
</ScrollArea>
|
||||||
src="https://danjohnvelasco.github.io/images/empty.png"
|
|
||||||
/>
|
|
||||||
</Center>
|
|
||||||
)}
|
|
||||||
</ScrollArea>
|
|
||||||
</Stack>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user