Fixed line break styling in tooltips.

This commit is contained in:
Andrey Savchenko committed 2018-12-20 15:05:32 +02:00
1 parent ed2a53a33d
commit 355532fa72
6 files changed
+11 -4

No files matched your search

+1 -1
View File
@@ -78,6 +78,6 @@ class Http_Record_Collector extends Stopwatch_Record_Collector {
$backtrace = $this->formatter->format( $this->callers[ $name ] );
return new Stopwatch_Record( $name, $event, implode( ' → ', $backtrace ) );
return new Stopwatch_Record( $name, $event, implode( '<br />', $backtrace ) );
}
}
+1 -1
View File
@@ -100,7 +100,7 @@ class Sql_Record_Collector implements Record_Collector_Interface {
$desc_duration = round( $duration * 1000 );
$backtrace = $this->formatter->format( $caller );
$description = $sql . ' – ' . $desc_duration . 'ms<hr />' . implode( ' → ', $backtrace );
$description = $sql . ' – ' . $desc_duration . 'ms<hr />' . implode( '<br />', $backtrace );
return new Record( $sql, $query_start, $duration, $description, $category );
}