Repository navigation
fix: Others 카테고리 추가에 맞춰 범례 박스 확장 - #19
Merged
Merged
Conversation
Others 카테고리가 새로 생기며 Most Solved Categories 범례가 4개에서 5개로 늘어나 박스 하단이 빡빡해진 문제 수정. 범례 시작점을 위로 올리고 배경 박스를 키워 5개 항목의 상하 여백 균형을 맞춤.
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
배경
Dreamhack API에
others카테고리가 새로 추가되면서 Most Solved Categories 범례 항목이 4개 → 5개로 늘었습니다. 그 결과 기존 4개 기준으로 잡혀 있던 범례 배경 박스가 5개를 담기엔 하단이 빡빡해져, 맨 아래 항목이 박스 경계에 거의 붙어 보이는 문제가 있었습니다.변경 사항
src/utils/generateCategorySvg.ts범례 레이아웃 조정:legendStartYlegendItemHeightyheight테스트
generateCategorySvg.test.ts6개 전부 통과 (좌표값을 검증하지 않아 영향 없음)