Commit: 6eb0aa9794e3e8d92eb0c2d8ee1ff0f7256cde23 Author: Colin Viebrock <co...@viebrock.ca> Tue, 4 Dec 2012 09:37:10 -0600 Parents: 65411432bc509829e7eb2aa8fcf694468a1df9e6 Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6eb0aa9794e3e8d92eb0c2d8ee1ff0f7256cde23 Log: fix for scrolling, other minor tweaks Changed paths: M ext/standard/css.c M ext/standard/info.c Diff: diff --git a/ext/standard/css.c b/ext/standard/css.c index 0561e4e..f7a0b97 100644 --- a/ext/standard/css.c +++ b/ext/standard/css.c @@ -23,21 +23,21 @@ PHPAPI void php_info_print_css(TSRMLS_D) /* {{{ */ { - PUTS("body {background-color: #fff; color: #000; font-family: sans-serif;}\n"); + PUTS("body {background-color: #fff; color: #222; font-family: sans-serif;}\n"); PUTS("pre {margin: 0; font-family: monospace;}\n"); PUTS("a:link {color: #009; text-decoration: none; background-color: #fff;}\n"); PUTS("a:hover {text-decoration: underline;}\n"); - PUTS("table {border-collapse: collapse; border: 0; width: 934px;}\n"); + PUTS("table {border-collapse: collapse; border: 0; width: 934px; box-shadow: 1px 2px 3px #ccc;}\n"); PUTS(".center {text-align: center;}\n"); - PUTS(".center table {margin: 0 auto; text-align: left;}\n"); + PUTS(".center table {margin: 1em auto; text-align: left;}\n"); PUTS(".center th {text-align: center !important;}\n"); - PUTS("td, th {border: 1px solid #000; font-size: 75%; vertical-align: baseline; padding: 3px 5px;}\n"); + PUTS("td, th {border: 1px solid #666; font-size: 75%; vertical-align: baseline; padding: 4px 5px;}\n"); PUTS("h1 {font-size: 150%;}\n"); PUTS("h2 {font-size: 125%;}\n"); PUTS(".p {text-align: left;}\n"); PUTS(".e {background-color: #ccf; width: 300px; font-weight: bold;}\n"); PUTS(".h {background-color: #99c; font-weight: bold;}\n"); - PUTS(".v {background-color: #ccc; max-width: 300px; overflow-y: scroll;}\n"); + PUTS(".v {background-color: #ddd; max-width: 300px; overflow-x: auto;}\n"); PUTS(".v i {color: #999;}\n"); PUTS("img {float: right; border: 0;}\n"); PUTS("hr {width: 934px; background-color: #ccc; border: 0; height: 1px;}\n"); diff --git a/ext/standard/info.c b/ext/standard/info.c index cbc8606..a1039f0 100644 --- a/ext/standard/info.c +++ b/ext/standard/info.c @@ -937,7 +937,7 @@ PHPAPI void php_info_print_table_start(void) /* {{{ */ PHPAPI void php_info_print_table_end(void) /* {{{ */ { if (!sapi_module.phpinfo_as_text) { - php_info_print("</table><br />\n"); + php_info_print("</table>\n"); } } -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php