Skip to content

Commit ca3ff88

Browse files
javiereguiluznicolas-grekas
authored andcommitted
Don't display the Symfony debug toolbar when printing the page
1 parent 15df829 commit ca3ff88

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar.css.twig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,3 +527,10 @@
527527
padding: 5px 0;
528528
margin-right: 10px;
529529
}
530+
531+
/***** Media query print: Do not print the Toolbar. *****/
532+
@media print {
533+
.sf-toolbar {
534+
display: none;
535+
}
536+
}

0 commit comments

Comments
 (0)