Skip to content

Commit

Permalink
fix(GlobalSearch): removed unnecessary absolute position
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisVorop committed Oct 6, 2023
1 parent 186698f commit fb056d6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/GlobalSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@ const StyledInput = styled(({ focused, ...props }) => <Input {...props} />)<{ fo
${({ focused }) =>
focused &&
`
position: absolute;
z-index: 99991; // 9999 — Popup z-index
z-index: 10000; // 9999 — Popup z-index
width: 400px;
`}
width: 400px;
`}
`;

const StyledResults = styled.div`
Expand Down

0 comments on commit fb056d6

Please sign in to comment.