mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
[PUI] Make dashboard header look less like a widget (#8611)
* blend in header * move indicator
This commit is contained in:
parent
8ac852728e
commit
f9487597fb
@ -1,5 +1,5 @@
|
||||
import { t } from '@lingui/macro';
|
||||
import { Alert, Card, Center, Divider, Loader, Text } from '@mantine/core';
|
||||
import { Alert, Card, Center, Loader, Text } from '@mantine/core';
|
||||
import { useDisclosure, useHotkeys } from '@mantine/hooks';
|
||||
import { IconInfoCircle } from '@tabler/icons-react';
|
||||
import { useCallback, useEffect, useMemo, useState } from 'react';
|
||||
@ -275,7 +275,6 @@ export default function DashboardLayout() {
|
||||
editing={editing}
|
||||
removing={removing}
|
||||
/>
|
||||
<Divider p='xs' />
|
||||
{layouts && loaded && availableWidgets.loaded ? (
|
||||
<>
|
||||
{widgetLabels.length == 0 ? (
|
||||
|
@ -50,7 +50,7 @@ export default function DashboardMenu({
|
||||
}, [user, instanceName]);
|
||||
|
||||
return (
|
||||
<Paper p='sm' shadow='xs'>
|
||||
<Paper p='sm' pr={0}>
|
||||
<Group justify='space-between' wrap='nowrap'>
|
||||
{title}
|
||||
|
||||
@ -76,7 +76,7 @@ export default function DashboardMenu({
|
||||
<Menu.Target>
|
||||
<Indicator
|
||||
color='red'
|
||||
position='bottom-start'
|
||||
position='bottom-center'
|
||||
processing
|
||||
disabled={!editing}
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user