Skip to content

Commit 671c593

Browse files
committed
fix: panel styling
Signed-off-by: amitamrutiya <[email protected]>
1 parent 137ee21 commit 671c593

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/custom/Panel/style.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ListItemProps } from '@mui/material';
22
import { Box, IconButton, ListItem } from '../../base';
33
import { PanelDragHandleIcon } from '../../icons/PanelDragHandle';
4-
import { black, styled } from '../../theme';
4+
import { styled } from '../../theme';
55
import { PanelProps } from './Panel';
66

77
export const ListHeader = styled(ListItem)(({ theme }) => ({
@@ -86,10 +86,10 @@ export const PanelContainer = styled(Box)<{ intitialPosition: PanelProps['intiti
8686
borderRadius: '8px',
8787
overflow: 'hidden',
8888
flexShrink: 0,
89-
zIndex: 99999,
89+
zIndex: 100,
9090
position: 'absolute',
9191
backgroundColor: theme.palette.background.blur?.light,
92-
boxShadow: `0 4px 16px ${black}`,
92+
boxShadow: `0 4px 16px ${theme.palette.background.blur?.light}`,
9393
maxHeight: '80%',
9494
display: 'flex',
9595
boxSizing: 'border-box',

0 commit comments

Comments
 (0)