Skip to content

Commit

Permalink
Feat: DropMenu position css스타일 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
JIS0098 committed Mar 18, 2024
1 parent d38ce2d commit b27daf5
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ const Container = styled.div`
display: flex;
flex-direction: column;
align-items: end;
gap: 0.6rem;
position: relative;
width: 10.4rem;
`;
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ const Container = styled.div`
display: flex;
flex-direction: column;
align-items: end;
gap: 0.6rem;
position: relative;
padding: 0;
width: 36.7rem;
Expand Down
2 changes: 0 additions & 2 deletions co-kkiri/src/components/commons/DropDowns/SortDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ const Container = styled.div`
display: flex;
flex-direction: column;
align-items: end;
gap: 1.6rem;
position: relative;
padding: 0;
width: 10.4rem;
`;
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ const Container = styled.div`
display: flex;
flex-direction: column;
align-items: end;
gap: 0.6rem;
position: relative;
padding: 0;
width: 31.4rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function DropMenu({ options, isOpen, handleSelectOption, $borderT
);
}

const { typography, color, zIndex } = DESIGN_TOKEN;
const { typography, color } = DESIGN_TOKEN;

const Container = styled.div<ContainerProps>`
display: ${({ $isOpen }) => ($isOpen ? "flex" : "none")};
Expand All @@ -52,7 +52,8 @@ const COMMON_STYLE = css`
border: 0.1rem solid ${color.gray[2]};
color: ${color.black[3]};
background-color: ${color.white};
${zIndex.popover}
position: relative;
top: 0.6rem;
`;

const VARIANT_STYLE = {
Expand Down

0 comments on commit b27daf5

Please sign in to comment.