]> git.joonet.de Git - adminer.git/commitdiff
Keep font size in all tables.
authorInge Brattaas <inge.brattaas@gmail.com>
Fri, 15 Mar 2019 22:02:23 +0000 (23:02 +0100)
committerJakub Vrana <jakub@vrana.cz>
Sun, 14 Jul 2019 16:58:07 +0000 (18:58 +0200)
Prevent CSS rule "table { font-size: 90% }" from making nested tables
unreadable.

plugins/json-column.php

index 71fb205988051c2a735cacfa8828083415b7f298..7b97c946c22cfeb22d395fbd4c139565536ba77a 100644 (file)
@@ -16,7 +16,7 @@ class AdminerJsonColumn {
        }
 
        private function _buildTable($json) {
-               echo '<table cellspacing="0" style="margin:2px">';
+               echo '<table cellspacing="0" style="margin:2px; font-size:100%;">';
                foreach ($json as $key => $val) {
                        echo '<tr>';
                        echo '<th>' . h($key) . '</th>';