Skip to content

Commit 9efb63c

Browse files
committed
ConnectionPanel: preserves whitespaces in explain panel [Closes #134]
1 parent a305573 commit 9efb63c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Bridges/DatabaseTracy/templates/ConnectionPanel.panel.phtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ use Nette\Database\Helpers;
99
<style class="tracy-debug">
1010
#tracy-debug td.nette-DbConnectionPanel-sql { background: white !important }
1111
#tracy-debug .nette-DbConnectionPanel-source { color: #BBB !important }
12+
#tracy-debug .nette-DbConnectionPanel-explain td { white-space: pre }
1213
</style>
1314

1415
<h1 title="<?= htmlSpecialChars($connection->getDsn(), ENT_QUOTES, 'UTF-8') ?>">Queries: <?php

0 commit comments

Comments
 (0)