diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 152cc0502dd1a9e40ef2820abb4a0e8316bc08c1..ce0458dead4722fa32f86f026f334c35085d1f34 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -1125,7 +1125,7 @@ class Form
         $resql=$this->db->query($sql);
         if ($resql)
         {
-            print '<select class="flat" name="'.$htmlname.'">';
+            print '<select class="flat maxwidthonsmartphone" name="'.$htmlname.'">';
             $num = $this->db->num_rows($resql);
 
             $qualifiedlines=$num;