Commit 03dd3bb 1 parent 9559fb5 commit 03dd3bb Copy full SHA for 03dd3bb
File tree 3 files changed +17
-6
lines changed
3 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 61
61
"dompurify" : " ^3.2.3" ,
62
62
"html-to-text" : " ^9.0.5" ,
63
63
"ical.js" : " ^1.5.0" ,
64
- "iframe-resizer" : " ^4.4.5 " ,
64
+ "iframe-resizer" : " ^5.3.3 " ,
65
65
"js-base64" : " ^3.7.7" ,
66
66
"jstz" : " ^2.1.1" ,
67
67
"lodash" : " ^4.17.21" ,
Original file line number Diff line number Diff line change @@ -99,8 +99,7 @@ export default {
99
99
mounted() {
100
100
iframeResizer({
101
101
log: false,
102
- heightCalculationMethod: 'taggedElement',
103
- scrolling: true,
102
+ scrolling: false,
104
103
}, this.$refs.iframe)
105
104
},
106
105
beforeDestroy() {
Original file line number Diff line number Diff line change @@ -583,12 +583,24 @@ export default {
583
583
.envelope {
584
584
border: none !important;
585
585
}
586
- * {
587
- page-break-inside: avoid;
588
- }
589
586
.v-popper__popper {
590
587
display: none !important;
591
588
}
589
+ iframe {
590
+ display: block !important;
591
+ visibility: visible !important;
592
+ position: relative !important;
593
+ width: 100% !important;
594
+ }
595
+
596
+ iframe body {
597
+ display: block !important;
598
+ }
599
+
600
+ @page {
601
+ size: auto;
602
+ margin: 10mm;
603
+ }
592
604
}
593
605
594
606
.message-source {
You can’t perform that action at this time.
0 commit comments