d
This commit is contained in:
@@ -51,6 +51,12 @@ body {
|
||||
margin: 3px 0 !important;
|
||||
border: 0.5px solid #555;
|
||||
}
|
||||
|
||||
#print-btn {
|
||||
font-size: 9px !important;
|
||||
padding: 4px 6px !important;
|
||||
border-radius: 3px !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Very small screens (phones in portrait) */
|
||||
@@ -95,13 +101,28 @@ body {
|
||||
|
||||
/* Print styles - make background transparent and model visible */
|
||||
@media print {
|
||||
* {
|
||||
background: white !important;
|
||||
background-image: none !important;
|
||||
background-color: white !important;
|
||||
}
|
||||
|
||||
body {
|
||||
background: white !important;
|
||||
background-image: none !important;
|
||||
background-color: white !important;
|
||||
}
|
||||
|
||||
html {
|
||||
background: white !important;
|
||||
background-image: none !important;
|
||||
background-color: white !important;
|
||||
}
|
||||
|
||||
#container {
|
||||
background: white !important;
|
||||
background-image: none !important;
|
||||
background-color: white !important;
|
||||
}
|
||||
|
||||
/* Hide info box when printing to focus on the model */
|
||||
@@ -109,6 +130,11 @@ body {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Hide print button in print output */
|
||||
#print-btn {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Hide loading indicator when printing */
|
||||
#loading {
|
||||
display: none !important;
|
||||
@@ -117,6 +143,8 @@ body {
|
||||
/* Ensure the canvas is visible and takes full page */
|
||||
canvas {
|
||||
background: white !important;
|
||||
background-image: none !important;
|
||||
background-color: white !important;
|
||||
width: 100% !important;
|
||||
height: 100% !important;
|
||||
max-width: none !important;
|
||||
@@ -125,9 +153,16 @@ body {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
/* Remove any WebGL background */
|
||||
canvas[data-engine*="three"], canvas[data-engine*="webgl"] {
|
||||
background: white !important;
|
||||
background-color: white !important;
|
||||
}
|
||||
|
||||
/* Ensure proper print sizing */
|
||||
@page {
|
||||
margin: 0.5in;
|
||||
size: auto;
|
||||
background: white;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user