flex 아이템들이 안에 들어있는 content의 크기와 상관없이 똑같은 너비를 갖기를 원했다.
flex: 0 0 25%로 해결!
https://stackoverflow.com/questions/40351223/equal-width-flex-items-regardless-of-content-length
'프로젝트 > SEB 44 main-project' 카테고리의 다른 글
[Refactor] 재사용 가능한 버튼 컴포넌트 만들기(styled components) (0) | 2023.08.16 |
---|---|
[Refactor/Architecture] 좋은 폴더구조를 찾기 위한 여정 (0) | 2023.08.07 |
[Refactor/ESlint] ESlint-plugin-import로 import문 순서 린팅하기 (0) | 2023.08.01 |
[회고] SEB_FE JOYING 프로젝트 회고(2023.06 ~ 2023.07) (4) | 2023.07.26 |
[React-Query] enabled: false로 남은 쿼리는 isLoading 상태다 (0) | 2023.07.24 |