Update product-box size and truncate

This commit is contained in:
Michael RICOIS 2017-09-26 15:26:48 +02:00
parent 91e7139f34
commit 96fe0dcd67
2 changed files with 2 additions and 2 deletions

View File

@ -787,7 +787,7 @@ class AdminCustomerThreads extends AdminTab
<span class="quantity">'.(int)($product['product_return_quantity']).'</span>
<a target="_blank" href="index.php?tab=AdminCatalog&id_product='.(int)($product['id_product']).'&updateproduct&token='.Tools::getAdminToken('AdminCatalog'.(int)(Tab::getIdFromClassName('AdminCatalog')).(int)($cookie->id_employee)).'" title="'.$product['name'].'">
<img width="62" src="'.(isset($img_path)?_THEME_PROD_DIR_.$img_path.'-small.jpg':'').'"/>
<p><b>#'.(int)($product['id_product']).'</b><br />'.mb_strimwidth($product['name'], 0, 55, "...").'</p>
<p><b>#'.(int)($product['id_product']).'</b><br />'.mb_strimwidth($product['name'], 0, 100, "...").'</p>
</a>
</div>';
}

View File

@ -3638,7 +3638,7 @@ form.form-forward-message .button:focus{
.panel-message .product-box{
position: relative;
float:left;
width:100px;
width:152px;
margin-right:10px;
margin-bottom:5px;
padding: 5px;