printing the ship
This commit is contained in:
parent
63f8f70a93
commit
248491642b
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
<div class="print-output">
|
<div class="print-output">
|
||||||
<Identification
|
<Identification
|
||||||
shipClass={ship.identification.shipClass}
|
shipClass={ship.identification.shipClass}
|
||||||
@ -26,6 +27,10 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="notice">
|
||||||
|
Printing this page will only prints the ship sheet.
|
||||||
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import Identification from "./Identification/index.svelte";
|
import Identification from "./Identification/index.svelte";
|
||||||
import MainSystems from "./MainSystems/index.svelte";
|
import MainSystems from "./MainSystems/index.svelte";
|
||||||
@ -51,4 +56,21 @@
|
|||||||
margin-right: 2em;
|
margin-right: 2em;
|
||||||
margin-left: 2em;
|
margin-left: 2em;
|
||||||
}
|
}
|
||||||
|
.notice {
|
||||||
|
font-style: italic;
|
||||||
|
margin-top: 1em;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media print {
|
||||||
|
:global(body > *) {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.print-output {
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user