Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -873,5 +873,7 @@


.rankingBody {
overflow: visible; /* 컨텐츠만큼 */
max-height: calc(100vh - 200px);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

low

리포지토리 스타일 가이드에 따라 코드 가독성을 위해 매직 넘버(magic number) 사용을 지양하는 것이 좋습니다. 200px라는 값이 어떻게 계산되었는지 주석으로 명시하면 향후 유지보수할 때 도움이 될 것입니다.

예를 들어, 다음과 같이 주석을 추가하는 것을 제안합니다.

/* 100vh - (패널 상단 offset + 헤더 높이 + 하단 여백) */
max-height: calc(100vh - 200px);
Suggested change
max-height: calc(100vh - 200px);
/* 100vh - (패널 상단 offset + 헤더 높이 + 하단 여백) */
max-height: calc(100vh - 200px);
References
  1. 리포지토리 스타일 가이드(154번 라인)에서는 코드의 일관성과 가독성을 위해 매직넘버 사용을 지양할 것을 권장하고 있습니다. (link)

overflow: auto;
flex: 1;
}
Loading