diff --git a/src/App.vue b/src/App.vue index 1ed8894..05c4189 100644 --- a/src/App.vue +++ b/src/App.vue @@ -348,4 +348,26 @@ onUnmounted(() => { z-index: 0; opacity: 0; } + +/* Hide UI elements when printing */ +@media print { + #editor-panel, + #element-popup, + #page-popup, + .preview-loader { + display: none !important; + } + + .preview-frame { + position: static !important; + margin-left: 0 !important; + transform: none !important; + width: 100% !important; + height: auto !important; + } + + .preview-frame:not(:first-of-type) { + display: none !important; + } +}