Prechádzať zdrojové kódy

Adjust column widths

Alan Lam 4 rokov pred
rodič
commit
a499c6240e
3 zmenil súbory, kde vykonal 16 pridanie a 0 odobranie
  1. 5 0
      views/customers.php
  2. 6 0
      views/locations_table.php
  3. 5 0
      views/suppliers.php

+ 5 - 0
views/customers.php

@@ -31,6 +31,11 @@ if(empty($customers)) {
 else {
 	?>
 	<table class="table table-bordered">
+		<colgroup>
+			<col style="width: 20%"/>
+			<col style="width: 60%"/>
+			<col style="width: 20%"/>
+		</colgroup>
 		<thead>
 		<tr>
 			<th><?=htmlspecialchars(__("ID"))?></th>

+ 6 - 0
views/locations_table.php

@@ -8,6 +8,12 @@ namespace App;
 
 ?>
 <table class="table table-bordered">
+	<colgroup>
+		<col style="width: 20%"/>
+		<col style="width: 30%"/>
+		<col style="width: 30%"/>
+		<col style="width: 20%"/>
+	</colgroup>
 	<thead>
 	<tr>
 		<th><?=htmlspecialchars(__("ID"))?></th>

+ 5 - 0
views/suppliers.php

@@ -31,6 +31,11 @@ if(empty($suppliers)) {
 else {
 	?>
 	<table class="table table-bordered">
+		<colgroup>
+			<col style="width: 20%"/>
+			<col style="width: 60%"/>
+			<col style="width: 20%"/>
+		</colgroup>
 		<thead>
 		<tr>
 			<th><?=htmlspecialchars(__("ID"))?></th>