Commit b6b10ded by resurtm

Fix scrollbar in the Debug module when viewing PHP info output

parent fb3b2f2c
......@@ -34,6 +34,10 @@ td, th {
word-break: break-all;
}
.config-php-info-table td.v {
word-break: break-all;
}
.detail-grid-view th {
white-space: nowrap;
}
......
......@@ -68,7 +68,7 @@ class ConfigPanel extends Panel
$pinfo = ob_get_contents();
ob_end_clean();
$phpinfo = preg_replace('%^.*<body>(.*)</body>.*$%ms', '$1', $pinfo);
$phpinfo = str_replace('<table ', '<table class="table table-condensed table-bordered table-striped table-hover"', $phpinfo);
$phpinfo = str_replace('<table ', '<table class="table table-condensed table-bordered table-striped table-hover config-php-info-table"', $phpinfo);
return $phpinfo;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment