Commit cfba38e1 by Alexander Makarov

Merge pull request #3103 from githubjeka/patch-3

Hide debug toolbar when media = print
parents ca07eae0 b4540932
......@@ -26,7 +26,7 @@ EOD;
$firstPanel = reset($panels);
$url = $firstPanel->getUrl();
?>
<div id="yii-debug-toolbar" class="yii-debug-toolbar-<?= $position ?>">
<div id="yii-debug-toolbar" class="yii-debug-toolbar-<?= $position ?> hidden-print">
<div class="yii-debug-toolbar-block title">
<a href="<?= Url::to(['index']) ?>">
<img width="29" height="30" alt="" src="<?= \yii\debug\Module::getYiiLogo() ?>">
......@@ -39,7 +39,7 @@ $url = $firstPanel->getUrl();
<?php endforeach; ?>
<span class="yii-debug-toolbar-toggler" onclick="<?= $minJs ?>"></span>
</div>
<div id="yii-debug-toolbar-min">
<div id="yii-debug-toolbar-min" class="hidden-print">
<a href="<?= $url ?>" title="Open Yii Debugger" id="yii-debug-toolbar-logo">
<img width="29" height="30" alt="" src="<?= \yii\debug\Module::getYiiLogo() ?>">
</a>
......
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