mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
Wrap table.nowrap
with div[style="overflow-x: auto"]
This commit is contained in:
@@ -13,6 +13,7 @@ class AdminerTableStructure {
|
||||
* @return bool
|
||||
*/
|
||||
function tableStructurePrint($fields) {
|
||||
echo "<div style='overflow-x: auto;'>\n";
|
||||
echo "<table cellspacing='0' class='nowrap'>\n";
|
||||
echo "<thead><tr><th>" . lang('Column') . "<th>" . lang('Type') . "<th>" . lang('Nullable') . "<th>" . lang('Default') . (support("comment") ? "<th>" . lang('Comment') : "") . "</thead>\n";
|
||||
foreach ($fields as $field) {
|
||||
@@ -26,6 +27,7 @@ class AdminerTableStructure {
|
||||
echo "\n";
|
||||
}
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user