summaryrefslogtreecommitdiff
path: root/it_debug.class
diff options
context:
space:
mode:
authorChristian Schneider2019-11-25 17:18:43 +0100
committerChristian Schneider2019-11-25 17:18:43 +0100
commitbae768893487e4a39dfa5ca7da10f0390dafc0b7 (patch)
tree7a1bcb9ea281da08510b40d8337a170e8682f266 /it_debug.class
parent3b71ec3ae89cbda5ba55af8f5fea3c62462d3110 (diff)
downloaditools-bae768893487e4a39dfa5ca7da10f0390dafc0b7.tar.gz
itools-bae768893487e4a39dfa5ca7da10f0390dafc0b7.tar.bz2
itools-bae768893487e4a39dfa5ca7da10f0390dafc0b7.zip
Make sure debug divs are readable even if line-height is set to something weird
Diffstat (limited to 'it_debug.class')
-rw-r--r--it_debug.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_debug.class b/it_debug.class
index f7141be..409b708 100644
--- a/it_debug.class
+++ b/it_debug.class
@@ -157,7 +157,7 @@ static function dump($args)
$title = htmlspecialchars(it_debug::backtrace(array('skiplevels' => 2)), ENT_COMPAT, "ISO-8859-1"); # skip this func as well as ED()/EDX()
if ($htmlok)
- return "<pre title='$title' style='color:#c00; text-align:left; background:white; border-bottom:1px solid #ddd; z-index:9999; position:relative'>$r</pre>\n";
+ return "<pre title='$title' style='color:#c00; text-align:left; background:white; border-bottom:1px solid #ddd; z-index:9999; position:relative; line-height:1'>$r</pre>\n";
else
return $ansiok ? "$r\n" : "\xe2\x96\x88\xe2\x96\x8c" . preg_replace("#\n#", "\n\xe2\x96\x88 ", "$r") . "\n";
}