반응형 수정

This commit is contained in:
kjs 2025-10-17 16:39:46 +09:00
parent 2e916678fa
commit d3a3237e7a
1 changed files with 2 additions and 2 deletions

View File

@ -144,8 +144,8 @@ export const ResponsiveLayoutEngine: React.FC<ResponsiveLayoutEngineProps> = ({
marginTop = `${actualGap}px`;
}
} else {
// 반응형 모드: 16px 고정 간격
marginTop = rowIndex === 0 ? `${row.yPosition}px` : "16px";
// 반응형 모드: 첫 번째는 맨 위부터 시작 (0px), 나머지는 16px 고정 간격
marginTop = rowIndex === 0 ? "0px" : "16px";
}
return (