Skip to content

Commit 6eb0aa9

Browse files
committed
fix for scrolling, other minor tweaks
1 parent 6541143 commit 6eb0aa9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

ext/standard/css.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,21 @@
2323

2424
PHPAPI void php_info_print_css(TSRMLS_D) /* {{{ */
2525
{
26-
PUTS("body {background-color: #fff; color: #000; font-family: sans-serif;}\n");
26+
PUTS("body {background-color: #fff; color: #222; font-family: sans-serif;}\n");
2727
PUTS("pre {margin: 0; font-family: monospace;}\n");
2828
PUTS("a:link {color: #009; text-decoration: none; background-color: #fff;}\n");
2929
PUTS("a:hover {text-decoration: underline;}\n");
30-
PUTS("table {border-collapse: collapse; border: 0; width: 934px;}\n");
30+
PUTS("table {border-collapse: collapse; border: 0; width: 934px; box-shadow: 1px 2px 3px #ccc;}\n");
3131
PUTS(".center {text-align: center;}\n");
32-
PUTS(".center table {margin: 0 auto; text-align: left;}\n");
32+
PUTS(".center table {margin: 1em auto; text-align: left;}\n");
3333
PUTS(".center th {text-align: center !important;}\n");
34-
PUTS("td, th {border: 1px solid #000; font-size: 75%; vertical-align: baseline; padding: 3px 5px;}\n");
34+
PUTS("td, th {border: 1px solid #666; font-size: 75%; vertical-align: baseline; padding: 4px 5px;}\n");
3535
PUTS("h1 {font-size: 150%;}\n");
3636
PUTS("h2 {font-size: 125%;}\n");
3737
PUTS(".p {text-align: left;}\n");
3838
PUTS(".e {background-color: #ccf; width: 300px; font-weight: bold;}\n");
3939
PUTS(".h {background-color: #99c; font-weight: bold;}\n");
40-
PUTS(".v {background-color: #ccc; max-width: 300px; overflow-y: scroll;}\n");
40+
PUTS(".v {background-color: #ddd; max-width: 300px; overflow-x: auto;}\n");
4141
PUTS(".v i {color: #999;}\n");
4242
PUTS("img {float: right; border: 0;}\n");
4343
PUTS("hr {width: 934px; background-color: #ccc; border: 0; height: 1px;}\n");

ext/standard/info.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ PHPAPI void php_info_print_table_start(void) /* {{{ */
937937
PHPAPI void php_info_print_table_end(void) /* {{{ */
938938
{
939939
if (!sapi_module.phpinfo_as_text) {
940-
php_info_print("</table><br />\n");
940+
php_info_print("</table>\n");
941941
}
942942

943943
}

0 commit comments

Comments
 (0)