Skip to content

Commit

Permalink
fix: zIndex ordering of map icons
Browse files Browse the repository at this point in the history
  • Loading branch information
benfurber committed Jan 9, 2025
1 parent 58b3eb9 commit e89c1f8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion src/pages/Maps/Content/MapView/MapView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const MapView = (props: IProps) => {
top: 0,
right: 0,
padding: 4,
zIndex: 4000,
zIndex: 1001,
display: 'flex',
flexDirection: 'column',
gap: 2,
Expand Down
26 changes: 12 additions & 14 deletions src/pages/common/Header/Menu/Notifications/NotificationsDesktop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,18 @@ export const NotificationsDesktop = (props: Props) => {
areThereNotifications={areThereNotifications}
/>
{showMobileNotifications && (
<Flex>
<div data-cy="notifications-modal-desktop">
<NotificationList
notifications={notifications}
markAllNotified={markAllNotified}
markAllRead={() => markAllRead && markAllRead()}
sx={{
width: '250px',
position: 'absolute',
right: '10px',
top: '60px',
}}
/>
</div>
<Flex data-cy="notifications-modal-desktop">
<NotificationList
notifications={notifications}
markAllNotified={markAllNotified}
markAllRead={() => markAllRead && markAllRead()}
sx={{
width: '250px',
position: 'absolute',
right: '10px',
top: '60px',
}}
/>
</Flex>
)}
</div>
Expand Down

0 comments on commit e89c1f8

Please sign in to comment.