Procházet zdrojové kódy

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

Fix document print bug
3.x
Andrew Wallo před 5 měsíci
rodič
revize
35e0819cde
Žádný účet není propojen s e-mailovou adresou tvůrce revize
1 změnil soubory, kde provedl 12 přidání a 3 odebrání
  1. 12
    3
      resources/views/print-document.blade.php

+ 12
- 3
resources/views/print-document.blade.php Zobrazit soubor

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

Načítá se…
Zrušit
Uložit