FIX extrafield css for boolean type

This commit is contained in:
Laurent Destailleur 2017-04-24 00:46:27 +02:00
parent 0080821dc5
commit ec59f08e41
2 changed files with 5 additions and 1 deletions

View File

@ -728,6 +728,10 @@ class ExtraFields
{
$showsize='minwidth400imp';
}
elseif ($type == 'boolean')
{
$showsize='';
}
else
{
if (round($size) < 12)

View File

@ -34,7 +34,7 @@ print '<br>';
$extrafields->fetch_name_optionals_label($elementtype);
print '<div class="div-table-responsive">';
print "<table summary=\"listofattributes\" class=\"noborder\" width=\"100%\">";
print '<table summary="listofattributes" class="noborder" width="100%">';
print '<tr class="liste_titre">';
print '<td align="left">'.$langs->trans("Position").'</td>';