원본승격 완료, 차트 위젯은 보류

This commit is contained in:
leeheejin
2025-10-28 18:21:00 +09:00
parent 81458549af
commit 0fe2fa9db1
17 changed files with 883 additions and 1963 deletions

View File

@@ -696,9 +696,9 @@ export default function CustomMetricTestWidget({ element }: CustomMetricTestWidg
// 메인 렌더링 (원본 스타일 - 심플하게)
return (
<div className="flex h-full w-full items-center justify-center overflow-hidden bg-white p-2">
{/* 콘텐츠 영역 - 스크롤 없이 자동으로 크기 조정 (원본과 동일) */}
<div className="grid h-full w-full gap-2" style={{ gridTemplateColumns: "repeat(auto-fit, minmax(140px, 1fr))" }}>
<div className="flex h-full w-full flex-col bg-white p-2">
{/* 콘텐츠 영역 - 스크롤 가능하도록 개선 */}
<div className="grid w-full gap-2 overflow-y-auto" style={{ gridTemplateColumns: "repeat(auto-fit, minmax(140px, 1fr))" }}>
{/* 그룹별 카드 (활성화 시) */}
{isGroupByMode &&
groupedCards.map((card, index) => {