Added support for printing
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user