diff --git a/adminer/static/functions.js b/adminer/static/functions.js index ca4332a5..1581cfbd 100644 --- a/adminer/static/functions.js +++ b/adminer/static/functions.js @@ -164,7 +164,7 @@ function selectDblClick(td, event, text) { var input = document.createElement(text ? 'textarea' : 'input'); input.name = td.id; input.value = (value == '\u00A0' || td.getElementsByTagName('i').length ? '' : value); //   or i - NULL - input.style.width = (td.clientWidth - 14) + 'px'; // 14 = 2 * (td.border + td.padding + input.border) + input.style.width = Math.max(td.clientWidth - 14, 20) + 'px'; // 14 = 2 * (td.border + td.padding + input.border) if (text) { var rows = 1; value.replace(/\n/g, function () {