1
0
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:
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

@@ -170,6 +170,7 @@ foreach ($engines as $engine) {
<?php } ?>
<?php if (support("columns")) { ?>
<div style="overflow-x: auto;">
<table cellspacing="0" id="edit-fields" class="nowrap">
<?php
$comments = ($_POST ? $_POST["comments"] : $row["Comment"] != "");
@@ -184,6 +185,7 @@ if (!$_POST && !$comments) {
edit_fields($row["fields"], $collations, "TABLE", $foreign_keys, $comments);
?>
</table>
</div>
<p>
<?php echo lang('Auto Increment'); ?>: <input type="number" name="Auto_increment" size="6" value="<?php echo h($row["Auto_increment"]); ?>">
<?php echo checkbox("defaults", 1, !$_POST || $_POST["defaults"], lang('Default values'), "columnShow(this.checked, 5)", "jsonly"); ?>