Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Card컴포넌트가 제거되면서Title과Desc가Wrap의 직접적인 자식 요소가 되었습니다.Wrap은place-items: center로 아이템을 중앙 정렬하는데,Desc컴포넌트에margin-right: 10px와 같은 '매직 넘버'가 포함된margin이 설정되어 있어 완벽한 중앙 정렬이 되지 않을 수 있습니다.1또한,
Wrap의gap과 각 컴포넌트의margin이 중첩되어 수직 간격이 의도와 다르게 표시될 수 있습니다.레이아웃의 일관성을 위해
Title과Desc컴포넌트의margin속성을 제거하거나 theme/constants 값으로 조정한 후, 간격은 부모인Wrap의gap으로만 관리하는 것을 고려해 보시는 것이 좋겠습니다.Style Guide References
Footnotes
스타일 가이드에 따라,
10px와 같은 매직 넘버는 이름 있는 상수로 관리하여 코드의 일관성과 유지보수성을 높여야 합니다. 현재Desc컴포넌트의margin에 하드코딩된 값이 사용되어 레이아웃 문제를 유발할 수 있습니다. (link) ↩