Skip to content

Commit

Permalink
Merge pull request #36 from APPS-sookmyung/style/view-card
Browse files Browse the repository at this point in the history
Style: 그룹이 많아질 경우 생성되는 스크롤바 숨김
  • Loading branch information
misung-dev authored Jul 30, 2024
2 parents fa9f4cc + 6141c43 commit 2c2fdf0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/CardInfo/CardInfo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function CardInfo({
<S.Info>
<S.Name isSelected={isSelected}>{name}</S.Name>
<S.Job isSelected={isSelected}>
{job} | {company}
{job}, {company}
</S.Job>
</S.Info>
</S.CardWrapper>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/AddCardPage/AddCardPage.style.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import styled from '@emotion/styled';

export const AddCardPage = styled.div`
padding: 20px 20px 100px 20px;
padding: 0 20px 100px 20px;
`;

// 타이틀
Expand Down
3 changes: 2 additions & 1 deletion src/pages/ViewCardPage/ViewCardPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ export default function ViewCardPage() {
)}
</S.EditBadgeWrapper>
</S.ButtonContainer>
{/* 명함 */}

{/* 명함 목록 */}
<S.CardContainer>
{filteredData.map((data, index) => (
<CardInfo
Expand Down
3 changes: 2 additions & 1 deletion src/pages/ViewCardPage/ViewCardPage.style.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import styled from '@emotion/styled';

export const ViewCardPage = styled.div`
padding: 20px 20px 100px 20px;
padding: 0 20px 100px 20px;
`;

// 버튼
Expand All @@ -16,6 +16,7 @@ export const GroupBadgeWrapper = styled.div`
gap: 5px;
overflow-x: auto;
white-space: nowrap;
scrollbar-width: none;
`;

export const EditBadgeWrapper = styled.div`
Expand Down

0 comments on commit 2c2fdf0

Please sign in to comment.