From 5bca7cf5f1eb2d1f6e47827e678bd66dde0cc144 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 10 Dec 2021 15:57:10 +0100 Subject: [PATCH] css --- htdocs/admin/company.php | 4 ++-- htdocs/core/class/html.formcompany.class.php | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/htdocs/admin/company.php b/htdocs/admin/company.php index 04f516374c6..e1328e6df8a 100644 --- a/htdocs/admin/company.php +++ b/htdocs/admin/company.php @@ -425,14 +425,14 @@ if ($user->admin) { } print ''."\n"; -print ''; +print ''; $state_id = 0; if (!empty($conf->global->MAIN_INFO_SOCIETE_STATE)) { $tmp = explode(':', $conf->global->MAIN_INFO_SOCIETE_STATE); $state_id = $tmp[0]; } print img_picto('', 'state', 'class="pictofixedwidth"'); -print $formcompany->select_state($state_id, $mysoc->country_code, 'state_id'); +print $formcompany->select_state($state_id, $mysoc->country_code, 'state_id', 'maxwidth200onsmartphone minwidth300'); print ''."\n"; // Currency diff --git a/htdocs/core/class/html.formcompany.class.php b/htdocs/core/class/html.formcompany.class.php index 1c188792a09..edc431819da 100644 --- a/htdocs/core/class/html.formcompany.class.php +++ b/htdocs/core/class/html.formcompany.class.php @@ -266,10 +266,11 @@ class FormCompany extends Form * @param int $selected Code state preselected (mus be state id) * @param integer $country_codeid Country code or id: 0=list for all countries, otherwise country code or country rowid to show * @param string $htmlname Id of department. If '', we want only the string with ';