Skip to content

Commit 1d02bb2

Browse files
committed
RichRenderer: Expand minitrace when dump is expanded
1 parent 371e67a commit 1d02bb2

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

build/kint.phar

109 Bytes
Binary file not shown.

src/Renderer/RichRenderer.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,13 @@ public function postRender(): string
412412
return '</div>';
413413
}
414414

415-
$output = '<footer>';
415+
$output = '<footer';
416+
417+
if ($this->expand) {
418+
$output .= ' class="kint-show"';
419+
}
420+
421+
$output .= '>';
416422

417423
if (!$this->use_folder) {
418424
$output .= '<span class="kint-folder-trigger" title="Move to folder">&mapstodown;</span>';

0 commit comments

Comments
 (0)