diff --git a/adminer/create.inc.php b/adminer/create.inc.php index 29e9ce80..6ebff59e 100644 --- a/adminer/create.inc.php +++ b/adminer/create.inc.php @@ -170,7 +170,7 @@ foreach ($engines as $engine) { -
+
homepage()) { } } $doc_link = doc_link(array('sql' => 'show-table-status.html')); - echo "
\n"; + echo "
\n"; echo "
\n"; echo script("mixin(qsl('table'), {onclick: tableClick, ondblclick: partialArg(tableClick, true)});"); echo ''; diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php index 6ca736f6..81a90004 100644 --- a/adminer/include/adminer.inc.php +++ b/adminer/include/adminer.inc.php @@ -310,7 +310,7 @@ class Adminer { * @return null */ function tableStructurePrint($fields) { - echo "
\n"; + echo "
\n"; echo "
\n"; echo "\n"; foreach ($fields as $field) { diff --git a/adminer/include/editing.inc.php b/adminer/include/editing.inc.php index 1c43b8d0..9e3a9beb 100644 --- a/adminer/include/editing.inc.php +++ b/adminer/include/editing.inc.php @@ -17,7 +17,7 @@ function select($result, $connection2 = null, $orgtables = array(), $limit = 0) odd(''); // reset odd for each result for ($i=0; (!$limit || $i < $limit) && ($row = $result->fetch_row()); $i++) { if (!$i) { - echo "
\n"; + echo "
\n"; echo "
" . lang('Column') . "" . lang('Type') . (support("comment") ? "" . lang('Comment') : "") . "
\n"; echo ""; for ($j=0; $j < count($row); $j++) { diff --git a/adminer/indexes.inc.php b/adminer/indexes.inc.php index cf2c0cd7..de7ff132 100644 --- a/adminer/indexes.inc.php +++ b/adminer/indexes.inc.php @@ -94,7 +94,7 @@ if (!$row) { ?> -
+
diff --git a/adminer/procedure.inc.php b/adminer/procedure.inc.php index 6d7b083a..cd3594d0 100644 --- a/adminer/procedure.inc.php +++ b/adminer/procedure.inc.php @@ -38,7 +38,7 @@ $routine_languages = routine_languages();

: " data-maxlength="64" autocapitalize="off"> -

+
-
+
backwardKeys($TABLE, $table_name); - echo "
"; + echo "
"; echo "
"; echo script("mixin(qs('#table'), {onclick: tableClick, ondblclick: partialArg(tableClick, true), onkeydown: editingKeydown});"); echo "" . (!$group && $select diff --git a/adminer/static/default.css b/adminer/static/default.css index 2d784fc2..9511976a 100644 --- a/adminer/static/default.css +++ b/adminer/static/default.css @@ -32,6 +32,7 @@ input.wayoff { left: -1000px; position: absolute; } .version { color: #777; font-size: 67%; } .js .hidden, .nojs .jsonly { display: none; } .js .column { position: absolute; background: #ddf; padding: .27em 1ex .3em 0; margin-top: -.27em; } +.scrollable { overflow-x: auto; } .nowrap td, .nowrap th, td.nowrap, p.nowrap { white-space: pre; } .wrap td { white-space: normal; } .error { color: red; background: #fee; } diff --git a/changes.txt b/changes.txt index d449ceb2..45c6e39c 100644 --- a/changes.txt +++ b/changes.txt @@ -8,6 +8,7 @@ Avoid overwriting existing tables when copying tables (bug #642) Fix function change with set data type Increase username maxlength to 80 (bug #623) Make maxlength in all fields a soft limit +Make tables horizontally scrollable MySQL: Support foreign keys created with ANSI quotes (bug #620) MySQL: Recognize ON UPDATE current_timestamp() (bug #632, bug #638) MySQL: Descending indexes in MySQL 8 (bug #643) diff --git a/editor/db.inc.php b/editor/db.inc.php index fd6ce937..6657a1b5 100644 --- a/editor/db.inc.php +++ b/editor/db.inc.php @@ -7,7 +7,7 @@ if ($adminer->homepage()) { if ($_POST["query"] != "") { search_tables(); } - echo "
\n"; + echo "
\n"; echo "
\n"; echo script("mixin(qsl('table'), {onclick: tableClick, ondblclick: partialArg(tableClick, true)});"); echo ''; diff --git a/plugins/table-structure.php b/plugins/table-structure.php index b90386ec..17a3b0c2 100644 --- a/plugins/table-structure.php +++ b/plugins/table-structure.php @@ -13,7 +13,7 @@ class AdminerTableStructure { * @return bool */ function tableStructurePrint($fields) { - echo "
\n"; + echo "
\n"; echo "
\n"; echo "\n"; foreach ($fields as $field) {
" . lang('Column') . "" . lang('Type') . "" . lang('Nullable') . "" . lang('Default') . (support("comment") ? "" . lang('Comment') : "") . "