From f38bbff5bfcd5c249cda96359f0a88ec123ca6db Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 20 Mar 2025 15:39:55 +0100 Subject: [PATCH] Increase maximum width of string edit (bug #930) --- CHANGELOG.md | 1 + adminer/include/html.inc.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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>" ; } -- 2.39.5