mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 07:25:48 +01:00
✨ Add Dashdot name indicator
This commit is contained in:
@@ -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>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user