Add Dashdot name indicator

This commit is contained in:
ajnart
2022-08-12 15:30:53 +02:00
parent 48e1808992
commit 7ba27ef9f1

View File

@@ -1,4 +1,4 @@
import { createStyles, useMantineColorScheme, useMantineTheme } from '@mantine/core';
import { createStyles, Stack, Title, useMantineColorScheme, useMantineTheme } from '@mantine/core';
import { IconCalendar as CalendarIcon } from '@tabler/icons';
import axios from 'axios';
import { useEffect, useState } from 'react';
@@ -214,6 +214,10 @@ export function DashdotComponent() {
</div>
{graphs.map((graph) => (
<Stack>
<Title style={{ position: 'absolute', right: 0 }} order={4} mt={10} mr={25}>
{graph.name}
</Title>
<iframe
className={classes.iframe}
style={
@@ -238,6 +242,7 @@ export function DashdotComponent() {
}`}
frameBorder="0"
/>
</Stack>
))}
</div>
)}