diff --git a/src/widgets/dnshole/DnsHoleControls.tsx b/src/widgets/dnshole/DnsHoleControls.tsx index 751897b30..ee8190acb 100644 --- a/src/widgets/dnshole/DnsHoleControls.tsx +++ b/src/widgets/dnshole/DnsHoleControls.tsx @@ -1,4 +1,4 @@ -import { Badge, Box, Button, Card, Group, Image, Stack, Text, SimpleGrid, Space } from '@mantine/core'; +import { Badge, Box, Button, Card, Group, Image, Stack, Text, SimpleGrid } from '@mantine/core'; import { useElementSize } from '@mantine/hooks'; import { useTranslation } from 'next-i18next'; import { IconDeviceGamepad, IconPlayerPlay, IconPlayerStop } from '@tabler/icons-react'; @@ -43,8 +43,8 @@ function DnsHoleControlsWidgetTile({ widget }: DnsHoleControlsWidgetProps) { } return ( - - 275)? 2 : 1 } verticalSpacing="0.25rem" spacing="0.25rem"> + + 275? 2 : 1 } verticalSpacing="0.25rem" spacing="0.25rem"> @@ -73,15 +71,13 @@ function DnsHoleControlsWidgetTile({ widget }: DnsHoleControlsWidgetProps) { leftIcon={} variant="light" color="red" - style={{ - height:"2rem", - }} + h="2rem" > {t('disableAll')} - + {data.status.map((status, index) => { const app = config?.apps.find((x) => x.id === status.appId); @@ -103,7 +99,7 @@ function DnsHoleControlsWidgetTile({ widget }: DnsHoleControlsWidgetProps) { > - + {app.name}