1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-11 09:04:02 +02:00

Change inline style to class name

This commit is contained in:
Jakub Vrana
2018-10-27 21:20:56 +02:00
parent e4837a0564
commit 5b443a4e7d
12 changed files with 12 additions and 10 deletions

View File

@@ -13,7 +13,7 @@ class AdminerTableStructure {
* @return bool
*/
function tableStructurePrint($fields) {
echo "<div style='overflow-x: auto;'>\n";
echo "<div class='scrollable'>\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) {