From: Jakub Vrana Date: Thu, 20 Mar 2025 14:39:55 +0000 (+0100) Subject: Increase maximum width of string edit (bug #930) X-Git-Tag: v5.1.0~70 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=f38bbff5bfcd5c249cda96359f0a88ec123ca6db;p=adminer.git Increase maximum width of string edit (bug #930) --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d0d18c3..0ee52d51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - MS SQL: Fix collation issues when retrieving default values - CSS: Sticky table headers (bug #918) - CSS: Allow more custom styles with dark mode (bug #925) +- CSS: Increase maximum width of string edit (bug #930) - Plugins: autoload plugins from adminer-plugins/ - Plugins: configure plugins with adminer-plugins.php - Plugins: Display loaded plugins in server overview diff --git a/adminer/include/html.inc.php b/adminer/include/html.inc.php index afc28e76..6bbd9299 100644 --- a/adminer/include/html.inc.php +++ b/adminer/include/html.inc.php @@ -323,7 +323,7 @@ function input($field, $value, $function, $autofocus = false) { echo " 20 ? " size='40'" : "") + . (preg_match('~char|binary~', $field["type"]) && $maxlength > 20 ? " size='" . ($maxlength > 99 ? 60 : 40) . "'" : "") . "$attrs>" ; }