Merge pull request #5844 from Budibase/fix/print-styles

Update print styles to work with dev tools update
This commit is contained in:
Martin McKeaveney 2022-05-12 18:24:32 +01:00 committed by GitHub
commit 9e4928739c
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>