Browse Source

fixed cell height in outbox

Piotr Labudda 9 years ago
parent
commit
580d543da4
1 changed files with 4 additions and 4 deletions
  1. 4 4
      SE/superedit-IN7_DZIENNIK_KORESP__OUTBOX.php

+ 4 - 4
SE/superedit-IN7_DZIENNIK_KORESP__OUTBOX.php

@@ -2,16 +2,16 @@
 
 class Koresp__Outbox_View {
 
-	function css() {
+	public static function css() {
 		echo '<style type="text/css">' . "
 .tbl-view th,
 .tbl-view td {padding:0 1px;font-size:11px;border-color:#000;}
 .tbl-view-koresp {page-break-after:always;}
-.tbl-view tbody td {height:34px;}
+.tbl-view tbody td { height:60px; page-break-inside:avoid; }
 		" . '</style>';
 	}
 
-	function page($koresp) {
+	public static function page($koresp) {
 		echo '<p style="text-align:right">' . "Załącznik nr ........................" . '</p>';
 		echo '<p style="text-align:left">' . "Imię i nazwisko (nazwa) oraz adres nadawcy ..........................................................................." . '</p>';
 		echo '<table cellspacing="0" cellpadding="0" border="1" class="tbl-view tbl-view-koresp">';
@@ -102,7 +102,7 @@ class Koresp__Outbox_View {
 		echo '</tbody>';
 		echo '</table>';
 	}
-	
+
 }