Added support for printing

This commit is contained in:
2023-11-21 11:51:37 +01:00
parent c891fdad45
commit f34d8e836a
6 changed files with 57 additions and 12 deletions

View File

@@ -24,3 +24,28 @@
.print-button {
margin-left: 2rem;
}
@media print {
mat-form-field {
display: none;
}
button {
display: none;
}
.door {
flex-direction: column;
}
.specs {
flex-direction: row;
p {
display: inline-block;
width: 220px;
}
}
}

View File

@@ -1,2 +1,11 @@
/* You can add global styles to this file, and also import other style files */
@import '~@angular/material/prebuilt-themes/indigo-pink.css';
@media print {
html {
height: 530px;
width: 460px;
overflow: hidden;
zoom: 0.25;
}
}