1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-06 06:37:33 +02:00

Wrap table.nowrap with div[style="overflow-x: auto"]

This commit is contained in:
kPherox
2018-10-25 19:31:28 +09:00
committed by Jakub Vrana
parent 83a0776e8d
commit e4837a0564
10 changed files with 20 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ if ($adminer->homepage()) {
if ($_POST["query"] != "") {
search_tables();
}
echo "<div style='overflow-x: auto;'>\n";
echo "<table cellspacing='0' class='nowrap checkable'>\n";
echo script("mixin(qsl('table'), {onclick: tableClick, ondblclick: partialArg(tableClick, true)});");
echo '<thead><tr class="wrap">';
@@ -26,6 +27,7 @@ if ($adminer->homepage()) {
}
echo "</table>\n";
echo "</div>\n";
echo "</form>\n";
echo script("tableCheck();");
}