diff --git a/htdocs/admin/perms.php b/htdocs/admin/perms.php index 4302222630c..10d72f88bf0 100644 --- a/htdocs/admin/perms.php +++ b/htdocs/admin/perms.php @@ -189,7 +189,7 @@ if ($result) $var=!$var; print ''; - print ''.img_object('',$picto).' '.$objMod->getName(); + print ''.img_object('',$picto,'class="pictoobjectwidth"').' '.$objMod->getName(); print ' '; $perm_libelle=($conf->global->MAIN_USE_ADVANCED_PERMS && ($langs->trans("PermissionAdvanced".$obj->id)!=("PermissionAdvanced".$obj->id))?$langs->trans("PermissionAdvanced".$obj->id):(($langs->trans("Permission".$obj->id)!=("Permission".$obj->id))?$langs->trans("Permission".$obj->id):$obj->libelle)); diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index dd91fc17d28..8d803160325 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -986,6 +986,9 @@ div.nopadding { margin-: 8px; margin-bottom: 4px; } +.pictoobjectwidth { + width: 14px; +} .pictosubstatus { padding-left: 2px; padding-right: 2px; @@ -2972,16 +2975,16 @@ div.tabBar .noborder { border: 1px solid #CCC; text-align: center; border-radius: 2px; - + white-space: nowrap; overflow: hidden; text-overflow: ellipsis; - width: 115px; + width: 115px; } @media only screen and (max-width: 767px) { .boxstats { - width: 100px; + width: 100px; } } diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 05b127250cb..a047eabef13 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -756,10 +756,10 @@ div.fiche>form>div.div-table-responsive { width: 20px; object-fit: contain; } - + div.statusref { padding-right: 10px; - } + } } .linkobject { cursor: pointer; } @@ -1010,6 +1010,9 @@ table.noborder tr.liste_titre td { margin-: 8px; margin-bottom: 4px; } +.pictoobjectwidth { + width: 14px; +} .pictosubstatus { padding-left: 2px; padding-right: 2px; @@ -2854,16 +2857,16 @@ div .tdtop { text-align: center; border-radius: 2px; min-height: 38px; - + white-space: nowrap; overflow: hidden; text-overflow: ellipsis; - width: 115px; + width: 115px; } @media only screen and (max-width: 767px) { .boxstats { - width: 100px; + width: 100px; } } .boxstats:hover { diff --git a/htdocs/user/perms.php b/htdocs/user/perms.php index 082d6286b8a..694ed013318 100644 --- a/htdocs/user/perms.php +++ b/htdocs/user/perms.php @@ -333,7 +333,7 @@ if ($result) { // On affiche ligne pour modifier droits print ''; - print ''.img_object('',$picto).' '.$objMod->getName(); + print ''.img_object('',$picto,'class="pictoobjectwidth"').' '.$objMod->getName(); print ''; print ''; print ''.$langs->trans("All").""; @@ -348,7 +348,7 @@ if ($result) print ''; // Picto and label of permission - print ''.img_object('',$picto).' '.$objMod->getName().''; + print ''.img_object('',$picto,'class="pictoobjectwidth"').' '.$objMod->getName().''; // Permission and tick if (! empty($object->admin) && ! empty($objMod->rights_admin_allowed)) // Permission own because admin