캔버스 하단에도 그리드 보이도록 수정

This commit is contained in:
dohyeons 2025-10-13 17:09:45 +09:00
parent cf909cded6
commit f73229eeeb
1 changed files with 2 additions and 1 deletions

View File

@ -122,7 +122,7 @@ export const DashboardCanvas = forwardRef<HTMLDivElement, DashboardCanvasProps>(
return (
<div
ref={ref}
className={`relative min-h-[600px] w-full bg-gray-50 ${isDragOver ? "bg-blue-50/50" : ""} `}
className={`relative min-h-full w-full bg-gray-50 ${isDragOver ? "bg-blue-50/50" : ""} `}
style={{
// 12 컬럼 그리드 배경 (동적 크기)
backgroundImage: `
@ -131,6 +131,7 @@ export const DashboardCanvas = forwardRef<HTMLDivElement, DashboardCanvasProps>(
`,
backgroundSize: gridSize,
backgroundPosition: "0 0",
backgroundRepeat: "repeat",
}}
onDragOver={handleDragOver}
onDragLeave={handleDragLeave}