mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-15 17:56:21 +01:00
💄 Update popover style
This commit is contained in:
@@ -2,7 +2,6 @@
|
|||||||
import { NormalizedTorrent } from '@ctrl/shared-torrent';
|
import { NormalizedTorrent } from '@ctrl/shared-torrent';
|
||||||
import {
|
import {
|
||||||
Badge,
|
Badge,
|
||||||
Divider,
|
|
||||||
Flex,
|
Flex,
|
||||||
Group,
|
Group,
|
||||||
List,
|
List,
|
||||||
@@ -11,7 +10,6 @@ import {
|
|||||||
Progress,
|
Progress,
|
||||||
Stack,
|
Stack,
|
||||||
Text,
|
Text,
|
||||||
Title,
|
|
||||||
useMantineTheme,
|
useMantineTheme,
|
||||||
} from '@mantine/core';
|
} from '@mantine/core';
|
||||||
import { useDisclosure, useElementSize } from '@mantine/hooks';
|
import { useDisclosure, useElementSize } from '@mantine/hooks';
|
||||||
@@ -19,6 +17,7 @@ import {
|
|||||||
IconAffiliate,
|
IconAffiliate,
|
||||||
IconDatabase,
|
IconDatabase,
|
||||||
IconDownload,
|
IconDownload,
|
||||||
|
IconFileInfo,
|
||||||
IconInfoCircle,
|
IconInfoCircle,
|
||||||
IconPercentage,
|
IconPercentage,
|
||||||
IconSortDescending,
|
IconSortDescending,
|
||||||
@@ -134,7 +133,7 @@ const TorrentQueuePopover = ({ torrent, app }: TorrentQueueItemProps) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Stack spacing="xs" justify="space-evenly">
|
<Stack spacing="xs">
|
||||||
{app && (
|
{app && (
|
||||||
<Group spacing={3}>
|
<Group spacing={3}>
|
||||||
<Text size="xs" color="dimmed">
|
<Text size="xs" color="dimmed">
|
||||||
@@ -146,8 +145,18 @@ const TorrentQueuePopover = ({ torrent, app }: TorrentQueueItemProps) => {
|
|||||||
</Text>
|
</Text>
|
||||||
</Group>
|
</Group>
|
||||||
)}
|
)}
|
||||||
<Title order={5}>{torrent.name}</Title>
|
|
||||||
<List>
|
<List>
|
||||||
|
<List.Item icon={<IconFileInfo size={16} />}>
|
||||||
|
<Text
|
||||||
|
style={{
|
||||||
|
display: 'inline-block',
|
||||||
|
wordBreak: 'break-word',
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{torrent.name}
|
||||||
|
</Text>
|
||||||
|
</List.Item>
|
||||||
<List.Item icon={<IconAffiliate size={16} />}>
|
<List.Item icon={<IconAffiliate size={16} />}>
|
||||||
<RatioMetric />
|
<RatioMetric />
|
||||||
</List.Item>
|
</List.Item>
|
||||||
|
|||||||
Reference in New Issue
Block a user