Skip to content

Commit

Permalink
Fix: StackPopover zIndex 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
nakyoung98 committed Apr 4, 2024
1 parent 11b8375 commit 61267b0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions co-kkiri/src/components/commons/StackPopover/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import FilterButton from "@/components/commons/DropDowns/commons/FilterButton";
import DefaultSelectLayout from "./SelectLayout";
import styled from "styled-components";
import useOpenToggle from "@/hooks/useOpenToggle";
import DESIGN_TOKEN from "@/styles/tokens";

interface StacksPopoverProps {
stacks: string[];
Expand All @@ -22,6 +23,8 @@ export default function StacksPopover({ onStacksChange, stacks }: StacksPopoverP
);
}

const { zIndex } = DESIGN_TOKEN;

const Container = styled.div`
position: relative;
`;
Expand All @@ -30,4 +33,6 @@ const SelectLayout = styled(DefaultSelectLayout)`
margin-top: 0.8rem;
position: absolute;
${zIndex.popover}
`;

0 comments on commit 61267b0

Please sign in to comment.