-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Don't display the Symfony debug toolbar when printing the page #23460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -527,3 +527,11 @@ | |
padding: 5px 0; | ||
margin-right: 10px; | ||
} | ||
|
||
/***** Media query print: Do not print the Toolbar. *****/ | ||
@media print { | ||
.sf-toolbar, .sf-error-toolbar { | ||
display: none; | ||
visibility: hidden; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what's the reason for this if there is already There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It was in the original CSS rule ... but you are right and this is no longer needed (Bootstrap v4 doesn't use that either. See https://github.com/twbs/bootstrap/blob/v4-dev/scss/_print.scss) |
||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.sf-error-toolbar
is useless here, as the error toolbar also has thesf-toolbar
class