优化画布预览容器的样式,移除多余的触摸禁用类,以提升代码简洁性和可读性。

This commit is contained in:
Zylan
2025-04-25 16:11:00 +08:00
parent eca4ac044e
commit ef3ad8c3de

View File

@@ -1264,7 +1264,7 @@ export default function Home() {
{/* Canvas Preview Container */}
<div className="bg-white p-3 sm:p-4 rounded-lg shadow">
<div className="flex justify-center mb-3 sm:mb-4 bg-gray-100 p-2 rounded overflow-hidden touch-none"
<div className="flex justify-center mb-3 sm:mb-4 bg-gray-100 p-2 rounded overflow-hidden"
style={{ minHeight: '150px' }}>
<canvas
ref={pixelatedCanvasRef}