Permalink
Browse files

bug #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 #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 | #23303
| License       | MIT
| Doc PR        | -

Commits
-------

ca3ff88 Don't display the Symfony debug toolbar when printing the page
  • Loading branch information...
nicolas-grekas committed Jul 11, 2017
2 parents 15df829 + ca3ff88 commit 26ad2ad4001431a702abe80be9012cd6ad6c97f8
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar.css.twig
@@ -527,3 +527,10 @@
padding: 5px 0;
margin-right: 10px;
}
/***** Media query print: Do not print the Toolbar. *****/
@media print {
.sf-toolbar {
display: none;
}
}

0 comments on commit 26ad2ad

Please sign in to comment.