Skip to content

Commit

Permalink
fix: css 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
cksquf98 committed Dec 19, 2024
1 parent 6a0f056 commit 6b3ca3e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 60 deletions.
86 changes: 29 additions & 57 deletions apps/duri/src/components/home/ShopVertical.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,63 +58,35 @@ export const ShopVertical = ({
gap={3}
margin="0 0 0 6px"
>
{
<Tag
key="tag1"
typo="Caption5"
bg={theme.palette.Gray50}
fontColor={theme.palette.Gray500}
width="fit-content"
height="19px"
borderRadius="2px"
>
{shop.shopTag1}
</Tag>
}
<Tag
key="tag2"
typo="Caption5"
bg={theme.palette.Gray50}
fontColor={theme.palette.Gray500}
width="fit-content"
height="19px"
borderRadius="2px"
>
{shop.shopTag2}
</Tag>
<TagWrapper direction="column" align="flex-start" gap={3}>
{shop.shopTag1 && (
<Tag
key="tag1"
typo="Caption5"
bg={theme.palette.Gray50}
fontColor={theme.palette.Gray500}
width="fit-content"
height="19px"
borderRadius="2px"
>
{shop.shopTag1}
</Tag>
)}
{shop.shopTag2 && (
<Tag
key="tag2"
typo="Caption5"
bg={theme.palette.Gray50}
fontColor={theme.palette.Gray500}
width="fit-content"
height="19px"
borderRadius="2px"
>
{shop.shopTag2}
</Tag>
)}
</TagWrapper>
</HeightFitFlex>
<Text typo="Caption4" colorCode={theme.palette.Gray500}>
{shop.address}
</Text>

<TagWrapper direction="column" align="flex-start" gap={3}>
{shop.shopTag1 && (
<Tag
key="tag1"
typo="Caption5"
bg={theme.palette.Gray50}
fontColor={theme.palette.Gray500}
width="fit-content"
height="19px"
borderRadius="2px"
>
{shop.shopTag1}
</Tag>
)}
{shop.shopTag2 && (
<Tag
key="tag2"
typo="Caption5"
bg={theme.palette.Gray50}
fontColor={theme.palette.Gray500}
width="fit-content"
height="19px"
borderRadius="2px"
>
{shop.shopTag2}
</Tag>
)}
</TagWrapper>
</HeightFitFlex>
</Wrapper>
))}
Expand All @@ -138,4 +110,4 @@ const FitFlex = styled(HeightFitFlex)`

const TagWrapper = styled(HeightFitFlex)`
min-height: 45px;
`;
`;
3 changes: 0 additions & 3 deletions packages/ui/src/styles/GlobalStyles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,4 @@ export const globalStyle = css`
border: none !important;
width: 100%;
}
.css-1f7sphi {
z-index: -1 !important;
}
`;

0 comments on commit 6b3ca3e

Please sign in to comment.