-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Hide header when print directly from browser issues 808 #809
Hide header when print directly from browser issues 808 #809
Conversation
Next time, you can put the issue text directly in the PR. Please change module version number. @lasley, can you check? |
@@ -4,6 +4,11 @@ | |||
header { | |||
margin: 0; | |||
padding: 0; | |||
|
|||
@media print { | |||
visibility: hidden; |
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.
Remove this one. Visibility hidden means that the element will still take the same amount of space, it simply won't show up. display: none
is what you're going for, and I assume because it's later it's actually overriding this and removing the space
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.
hi, thanks for review.
updated.
please help to review again
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.
Thanks @fanha99 - one comment inline
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.
Perfecto, thanks @fanha99
@fanha99 - do you plan on backporting this? |
this is for: #808