From 41caa96dd877cf19c82678f55394897ba707ef07 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 5 Jan 2026 19:52:34 +0100 Subject: [PATCH] CSS --- htdocs/compta/facture/list.php | 2 +- htdocs/core/class/extrafields.class.php | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/htdocs/compta/facture/list.php b/htdocs/compta/facture/list.php index 7c6d65266c9..9863e20bf41 100644 --- a/htdocs/compta/facture/list.php +++ b/htdocs/compta/facture/list.php @@ -1627,7 +1627,7 @@ if (getDolGlobalString('MAIN_VIEW_LINE_NUMBER_IN_LIST')) { // Ref if (!empty($arrayfields['f.ref']['checked'])) { print ''; - print ''; + print ''; print ''; } // Ref customer diff --git a/htdocs/core/class/extrafields.class.php b/htdocs/core/class/extrafields.class.php index 9d411eb916e..47d78d4c598 100644 --- a/htdocs/core/class/extrafields.class.php +++ b/htdocs/core/class/extrafields.class.php @@ -1146,6 +1146,10 @@ class ExtraFields $form = new Form($this->db); } + if ($mode == 1) { // When field is used for search input into a list, we limit its size. + $morecss = 'maxwidth125'; + } + $parameters = array( 'key' => $key, 'value' => &$value,