Fix ping indicators floating above header in board customization page (#1998)
🐛 fix indicators floating above header
This commit is contained in:
committed by
GitHub
parent
f861eb4bd9
commit
8f78184323
@@ -114,6 +114,7 @@ const PlaceholderElement = ({ height, width, showPing, index }: PlaceholderEleme
|
|||||||
size={5}
|
size={5}
|
||||||
offset={10}
|
offset={10}
|
||||||
color={index % 4 === 0 ? 'red' : 'green'}
|
color={index % 4 === 0 ? 'red' : 'green'}
|
||||||
|
zIndex={0}
|
||||||
>
|
>
|
||||||
<BaseElement width={width} height={height} />
|
<BaseElement width={width} height={height} />
|
||||||
</Indicator>
|
</Indicator>
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
import {
|
import {
|
||||||
Anchor,
|
|
||||||
Box,
|
Box,
|
||||||
Center,
|
Center,
|
||||||
Flex,
|
Flex,
|
||||||
@@ -8,11 +7,11 @@ import {
|
|||||||
Text,
|
Text,
|
||||||
Title,
|
Title,
|
||||||
UnstyledButton,
|
UnstyledButton,
|
||||||
useMantineTheme,
|
useMantineTheme
|
||||||
} from '@mantine/core';
|
} from '@mantine/core';
|
||||||
import { useMediaQuery } from '@mantine/hooks';
|
import { useMediaQuery } from '@mantine/hooks';
|
||||||
import { IconAlertTriangle } from '@tabler/icons-react';
|
import { IconAlertTriangle } from '@tabler/icons-react';
|
||||||
import { Trans, useTranslation } from 'next-i18next';
|
import { useTranslation } from 'next-i18next';
|
||||||
|
|
||||||
import { Logo } from '../Common/Logo';
|
import { Logo } from '../Common/Logo';
|
||||||
import { AvatarMenu } from './AvatarMenu';
|
import { AvatarMenu } from './AvatarMenu';
|
||||||
@@ -44,7 +43,7 @@ export const MainHeader = ({
|
|||||||
: headerBaseHeight;
|
: headerBaseHeight;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Header height={headerHeight} pb="sm" pt={0}>
|
<Header height={headerHeight} pb="sm" pt={0} style={{ zIndex: 200 }}>
|
||||||
<Group spacing="xl" mt="xs" px="md" position="apart" noWrap>
|
<Group spacing="xl" mt="xs" px="md" position="apart" noWrap>
|
||||||
<Group noWrap style={{ flex: 1 }}>
|
<Group noWrap style={{ flex: 1 }}>
|
||||||
{leftIcon}
|
{leftIcon}
|
||||||
|
|||||||
@@ -156,6 +156,7 @@ function MediaRequestStatsTile({ widget }: MediaRequestStatsWidgetProps) {
|
|||||||
left={8}
|
left={8}
|
||||||
size={15}
|
size={15}
|
||||||
ml={-5}
|
ml={-5}
|
||||||
|
zIndex={1}
|
||||||
color={user.app === 'overseerr' ? '#ECB000' : '#6677CC'}
|
color={user.app === 'overseerr' ? '#ECB000' : '#6677CC'}
|
||||||
processing={mediaFetching || usersFetching}
|
processing={mediaFetching || usersFetching}
|
||||||
children
|
children
|
||||||
|
|||||||
Reference in New Issue
Block a user