make print better
This commit is contained in:
parent
26ea04e2a3
commit
c99bfb8ef1
3 changed files with 22 additions and 9 deletions
|
|
@ -145,6 +145,7 @@ export default function DrawioView(props: NodeViewProps) {
|
|||
variant="default"
|
||||
color="gray"
|
||||
mx="xs"
|
||||
className="print-hide"
|
||||
style={{
|
||||
position: "absolute",
|
||||
top: 8,
|
||||
|
|
|
|||
|
|
@ -183,6 +183,7 @@ export default function ExcalidrawView(props: NodeViewProps) {
|
|||
variant="default"
|
||||
color="gray"
|
||||
mx="xs"
|
||||
className="print-hide"
|
||||
style={{
|
||||
position: "absolute",
|
||||
top: 8,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,9 @@
|
|||
@media print {
|
||||
.mantine-AppShell-header,
|
||||
.mantine-AppShell-navbar,
|
||||
.mantine-AppShell-aside{
|
||||
.mantine-AppShell-aside,
|
||||
.print-hide,
|
||||
.drag-handle {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
|
|
@ -9,4 +11,13 @@
|
|||
padding-top: 0 !important;
|
||||
min-height: auto !important;
|
||||
}
|
||||
|
||||
.ProseMirror-selectednode {
|
||||
outline: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.tableWrapper {
|
||||
overflow: hidden !important;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue