Skip to content

Commit

Permalink
Fix/member/number of member (#56)
Browse files Browse the repository at this point in the history
* 멤버 디비 멤버 수 반영

* 마지막 행에서 멤버 카드들 수가 부족할 때 너비가 늘어나는 이슈 수정
  • Loading branch information
minkyu97 authored Nov 26, 2023
1 parent 144b349 commit ef155ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions components/Member/Board/Board.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
}

.memberCardWrapper {
flex: 1 0 350px;
width: calc((100% - 40px) / 3);
}

@include responsive.tabletAndMobile {
Expand All @@ -144,7 +144,6 @@

.cardContainer {
width: 100%;
justify-content: center;
}
}
}
Expand All @@ -155,7 +154,7 @@
}

.memberCardWrapper {
flex: 1 0 45vw;
width: calc((100% - 20px) / 2);
}
}

Expand Down
2 changes: 1 addition & 1 deletion components/Member/Board/Board.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function Board() {
<div className={cx("description")}>
<span>현재까지</span>
<span className={cx("numberOfMembers")}>
<CountingNumber targetNum={members.length} />
<CountingNumber targetNum={327} />
</span>
<span>명이 와플스튜디오에 함께했습니다.</span>
</div>
Expand Down

0 comments on commit ef155ee

Please sign in to comment.