Skip to content

Commit 458dfde

Browse files
committed
fix: command bar z-index
1 parent 85ea5ce commit 458dfde

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/src/component/commandBar/CommandBar.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const CommandResultsPaper = styled(Paper)(({ theme }) => ({
3737
width: '100%',
3838
left: 0,
3939
top: '39px',
40-
zIndex: 4,
40+
zIndex: theme.zIndex.drawer,
4141
borderTop: theme.spacing(0),
4242
padding: theme.spacing(1.5, 0, 1.5),
4343
borderRadius: 0,

frontend/src/component/menu/Header/InviteLink/InviteLinkContent.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const StyledPaper = styled(Paper)(({ theme }) => ({
1212
borderRadius: theme.shape.borderRadiusMedium,
1313
boxShadow: theme.boxShadows.popup,
1414
position: 'absolute',
15-
zIndex: 5000,
15+
zIndex: theme.zIndex.snackbar,
1616
right: -255,
1717
minWidth: theme.spacing(80),
1818
[theme.breakpoints.down('md')]: {

0 commit comments

Comments
 (0)