You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@media print {
/* Hide all elements except the certificate */body* {
visibility: hidden; /* Hide all elements */page-break-inside: avoid; /* Prevent breaking inside */
}
/* Show only the certificate */
.certificate {
visibility: visible;
page-break-inside: avoid; /* Prevent breaking inside */
}
/* Ensure all children of the certificate are visible */
.certificate* {
visibility: visible;
}
}
Hello. Hard to debug without seeing more code. You also didn't say if it's working properly on desktop devices? Any chance you could make a Codesandbox or similar?
i use this style
and print with
why in mobile device create 5 page instead of one page
The text was updated successfully, but these errors were encountered: