Skip to content

Commit

Permalink
fix(protocol-designer): fix navbar z-index issue (#16910)
Browse files Browse the repository at this point in the history
* fix(protocol-designer): fix navbar z-index issue
  • Loading branch information
koji authored Nov 20, 2024
1 parent d430428 commit ac051f7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion components/src/organisms/Toolbox/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ export function Toolbox(props: ToolboxProps): JSX.Element {
<Box
padding={SPACING.spacing16}
boxShadow={isScrolledToBottom ? 'none' : '0px -4px 12px #0000001a'}
zIndex={3}
width="100%"
borderTop={`1px solid ${COLORS.grey30}`}
alignItems={ALIGN_CENTER}
Expand Down
2 changes: 1 addition & 1 deletion protocol-designer/src/organisms/ProtocolNavBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export function ProtocolNavBar({
}

const NavContainer = styled(Flex)<{ showShadow: boolean }>`
z-index: 11;
z-index: ${props => (props.showShadow === true ? 11 : 0)};
padding: ${SPACING.spacing12};
width: 100%;
justify-content: ${JUSTIFY_SPACE_BETWEEN};
Expand Down

0 comments on commit ac051f7

Please sign in to comment.