Skip to content

Commit

Permalink
Fix ping indicators floating above header in board customization page (
Browse files Browse the repository at this point in the history
…#1998)

🐛 fix indicators floating above header
  • Loading branch information
krishnamuppaneni authored Apr 5, 2024
1 parent f861eb4 commit 8f78184
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/components/Board/Customize/Layout/LayoutPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ const PlaceholderElement = ({ height, width, showPing, index }: PlaceholderEleme
size={5}
offset={10}
color={index % 4 === 0 ? 'red' : 'green'}
zIndex={0}
>
<BaseElement width={width} height={height} />
</Indicator>
Expand Down
7 changes: 3 additions & 4 deletions src/components/layout/header/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {
Anchor,
Box,
Center,
Flex,
Expand All @@ -8,11 +7,11 @@ import {
Text,
Title,
UnstyledButton,
useMantineTheme,
useMantineTheme
} from '@mantine/core';
import { useMediaQuery } from '@mantine/hooks';
import { IconAlertTriangle } from '@tabler/icons-react';
import { Trans, useTranslation } from 'next-i18next';
import { useTranslation } from 'next-i18next';

import { Logo } from '../Common/Logo';
import { AvatarMenu } from './AvatarMenu';
Expand Down Expand Up @@ -44,7 +43,7 @@ export const MainHeader = ({
: headerBaseHeight;

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 noWrap style={{ flex: 1 }}>
{leftIcon}
Expand Down
1 change: 1 addition & 0 deletions src/widgets/media-requests/MediaRequestStatsTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ function MediaRequestStatsTile({ widget }: MediaRequestStatsWidgetProps) {
left={8}
size={15}
ml={-5}
zIndex={1}
color={user.app === 'overseerr' ? '#ECB000' : '#6677CC'}
processing={mediaFetching || usersFetching}
children
Expand Down

0 comments on commit 8f78184

Please sign in to comment.