대시보드 뷰어 다운로드 버튼 비활성화(주석처리)

This commit is contained in:
dohyeons 2025-12-01 15:04:52 +09:00
parent 655eead3b6
commit 4b06c6f83a
1 changed files with 6 additions and 6 deletions

View File

@ -545,8 +545,8 @@ export function DashboardViewer({
{/* 데스크톱: 디자이너에서 설정한 위치 그대로 렌더링 (화면에 맞춰 비율 유지) */}
<div className="bg-muted hidden min-h-screen py-8 lg:block" style={{ backgroundColor }}>
<div className="mx-auto px-4" style={{ width: "100%", maxWidth: "none" }}>
{/* 다운로드 버튼 */}
<div className="mb-4 flex justify-end">
{/* 다운로드 버튼 - 비활성화 */}
{/* <div className="mb-4 flex justify-end">
<DropdownMenu>
<DropdownMenuTrigger asChild>
<Button variant="outline" size="sm" className="gap-2">
@ -559,7 +559,7 @@ export function DashboardViewer({
<DropdownMenuItem onClick={() => handleDownload("pdf")}>PDF </DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>
</div>
</div> */}
<div
className="dashboard-viewer-canvas relative rounded-lg"
@ -588,8 +588,8 @@ export function DashboardViewer({
{/* 태블릿 이하: 반응형 세로 정렬 */}
<div className="bg-muted block min-h-screen p-4 lg:hidden" style={{ backgroundColor }}>
<div className="mx-auto max-w-3xl space-y-4">
{/* 다운로드 버튼 */}
<div className="flex justify-end">
{/* 다운로드 버튼 - 비활성화 */}
{/* <div className="flex justify-end">
<DropdownMenu>
<DropdownMenuTrigger asChild>
<Button variant="outline" size="sm" className="gap-2">
@ -602,7 +602,7 @@ export function DashboardViewer({
<DropdownMenuItem onClick={() => handleDownload("pdf")}>PDF </DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>
</div>
</div> */}
<div className="dashboard-viewer-canvas">
{sortedElements.map((element) => (