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,8 +189,7 @@ export default function DownloadComponent() {
|
||||
});
|
||||
|
||||
return (
|
||||
<Stack mt="xl">
|
||||
<ScrollArea sx={{ height: 300 }}>
|
||||
<ScrollArea mt="xl" sx={{ height: 300, width: '100%' }}>
|
||||
{rows.length > 0 ? (
|
||||
<Table highlightOnHover>
|
||||
<thead>{ths}</thead>
|
||||
@@ -198,14 +197,9 @@ export default function DownloadComponent() {
|
||||
</Table>
|
||||
) : (
|
||||
<Center style={{ display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
|
||||
<Image
|
||||
fit="cover"
|
||||
height={300}
|
||||
src="https://danjohnvelasco.github.io/images/empty.png"
|
||||
/>
|
||||
<Image fit="cover" height={300} src="https://danjohnvelasco.github.io/images/empty.png" />
|
||||
</Center>
|
||||
)}
|
||||
</ScrollArea>
|
||||
</Stack>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user