1
0
Fork 0
mirror of synced 2024-07-19 21:26:22 +12:00

Add css print styles to ensure multi-page print is possible

This commit is contained in:
Andrew Kingston 2022-03-10 11:54:15 +00:00
parent acd3549345
commit 42cbdcd923
2 changed files with 24 additions and 0 deletions

View file

@ -226,4 +226,12 @@
border: 1px solid var(--spectrum-global-color-gray-300);
border-radius: 4px;
}
@media print {
#spectrum-root,
#clip-root,
#app-root {
overflow: visible !important;
}
}
</style>

View file

@ -427,4 +427,20 @@
height: var(--height);
z-index: 998;
}
/* Print styles */
@media print {
.layout,
.main-wrapper {
overflow: visible !important;
}
.nav-wrapper {
display: none !important;
}
.layout {
flex-direction: column !important;
justify-content: flex-start !important;
align-items: stretch !important;
}
}
</style>