Update print styles to work with dev tools update

This commit is contained in:
Andrew Kingston 2022-05-12 10:44:36 +01:00
parent 26725ce889
commit a5dd74842b
3 changed files with 12 additions and 1 deletions

View File

@ -283,7 +283,8 @@
@media print { @media print {
#spectrum-root, #spectrum-root,
#clip-root, #clip-root,
#app-root { #app-root,
#app-body {
overflow: visible !important; overflow: visible !important;
} }
} }

View File

@ -66,4 +66,9 @@
.tab-content { .tab-content {
padding: 0 var(--spacing-xl); padding: 0 var(--spacing-xl);
} }
@media print {
.devtools {
display: none;
}
}
</style> </style>

View File

@ -71,4 +71,9 @@
.dev-preview-header :global(.spectrum-Picker-label) { .dev-preview-header :global(.spectrum-Picker-label) {
color: white !important; color: white !important;
} }
@media print {
.dev-preview-header {
display: none;
}
}
</style> </style>