Fix visualizzazione datatables da mobile

This commit is contained in:
MatteoPistorello 2023-05-26 13:16:15 +02:00
parent 4b5b300c1d
commit 540f6417af
1 changed files with 4 additions and 0 deletions

View File

@ -129,6 +129,10 @@ if (!empty($type) && $type != 'menu' && $type != 'custom') {
$field = str_replace('icon_', '', $field);
}
if (isMobile()) {
$attr_td .= " style='min-width:100px;'";
}
echo '
<th'.$attr_td.' id="th_'.searchFieldName($name).'"';
if ($total['search'][$key] == 1) {