Commit cd07a416 by Alexander Makarov

Merge pull request #2494 from resurtm/fix-debug-scroll-bar

Fix scrollbar in the Debug module when viewing PHP info output
parents fb3b2f2c b6b10ded
......@@ -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