This commit is contained in:
sebseb7
2025-08-25 08:50:33 +02:00
parent e967f52f1b
commit ba8eb581c9
2 changed files with 76 additions and 0 deletions

View File

@@ -92,3 +92,42 @@ body {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
/* Print styles - make background transparent and model visible */
@media print {
body {
background: white !important;
background-image: none !important;
}
#container {
background: white !important;
}
/* Hide info box when printing to focus on the model */
#info {
display: none !important;
}
/* Hide loading indicator when printing */
#loading {
display: none !important;
}
/* Ensure the canvas is visible and takes full page */
canvas {
background: white !important;
width: 100% !important;
height: 100% !important;
max-width: none !important;
max-height: none !important;
margin: 0 !important;
padding: 0 !important;
}
/* Ensure proper print sizing */
@page {
margin: 0.5in;
size: auto;
}
}