Skip to content

Commit 26ad2ad

Browse files
bug symfony#23460 Don't display the Symfony debug toolbar when printing the page (javiereguiluz)
This PR was squashed before being merged into the 2.8 branch (closes symfony#23460). Discussion ---------- Don't display the Symfony debug toolbar when printing the page | Q | A | ------------- | --- | Branch? | 2.8 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | symfony#23303 | License | MIT | Doc PR | - Commits ------- ca3ff88 Don't display the Symfony debug toolbar when printing the page
2 parents 15df829 + ca3ff88 commit 26ad2ad

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)