From 4956164aef383eabc50ceb2491a83ad7075f9288 Mon Sep 17 00:00:00 2001 From: harry Date: Wed, 10 Jun 2026 11:33:09 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Others=20=EC=B9=B4=ED=85=8C=EA=B3=A0?= =?UTF-8?q?=EB=A6=AC=20=EC=B6=94=EA=B0=80=EC=97=90=20=EB=A7=9E=EC=B6=B0=20?= =?UTF-8?q?=EB=B2=94=EB=A1=80=20=EB=B0=95=EC=8A=A4=20=ED=99=95=EC=9E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Others 카테고리가 새로 생기며 Most Solved Categories 범례가 4개에서 5개로 늘어나 박스 하단이 빡빡해진 문제 수정. 범례 시작점을 위로 올리고 배경 박스를 키워 5개 항목의 상하 여백 균형을 맞춤. --- src/utils/generateCategorySvg.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/generateCategorySvg.ts b/src/utils/generateCategorySvg.ts index de229bb..dfe4ed4 100644 --- a/src/utils/generateCategorySvg.ts +++ b/src/utils/generateCategorySvg.ts @@ -43,8 +43,8 @@ export function generateCategorySvg(stats: TCategoryStats, theme: Theme = 'light let currentAngle = 0; const legendStartX = 25; - const legendStartY = 75; - const legendItemHeight = 22; + const legendStartY = 64; + const legendItemHeight = 23; const maxLegendItems = 5; // 카테고리가 없는 경우 @@ -140,7 +140,7 @@ export function generateCategorySvg(stats: TCategoryStats, theme: Theme = 'light Most Solved Categories - +