瀏覽代碼

Merge pull request #162 from andrewdwallo/development-3.x

Fix document print bug
3.x
Andrew Wallo 5 月之前
父節點
當前提交
35e0819cde
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 12 行新增3 行删除
  1. 12
    3
      resources/views/print-document.blade.php

+ 12
- 3
resources/views/print-document.blade.php 查看文件

40
             .doc-template-container {
40
             .doc-template-container {
41
                 padding: 0 !important;
41
                 padding: 0 !important;
42
                 margin: 0 !important;
42
                 margin: 0 !important;
43
+
44
+                > div {
45
+                    overflow: hidden !important;
46
+                    max-height: none !important;
47
+                    max-width: none !important;
48
+                    box-shadow: none !important;
49
+                    border-radius: 0 !important;
50
+                }
43
             }
51
             }
44
 
52
 
45
             .doc-template-paper {
53
             .doc-template-paper {
46
-                box-shadow: none !important;
47
-                border-radius: 0 !important;
48
                 overflow: hidden !important;
54
                 overflow: hidden !important;
49
                 max-height: none !important;
55
                 max-height: none !important;
56
+                max-width: none !important;
57
+                height: auto !important;
58
+                width: auto !important;
50
             }
59
             }
51
 
60
 
52
             .doc-template-line-items .summary-section {
61
             .doc-template-line-items .summary-section {
67
     </style>
76
     </style>
68
 </head>
77
 </head>
69
 <body>
78
 <body>
70
-    @include("filament.infolists.components.document-templates.{$template->value}", [
79
+    @include("filament.company.components.document-templates.{$template->value}", [
71
         'document' => $document,
80
         'document' => $document,
72
         'preview' => false,
81
         'preview' => false,
73
     ])
82
     ])

Loading…
取消
儲存