mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-16 06:17:56 +08:00
Merge pull request #3103 from githubjeka/patch-3
Hide debug toolbar when media = print
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user