Skip to content
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

Merged
merged 3 commits into from
Nov 27, 2017

Conversation

fanha99
Copy link
Contributor

@fanha99 fanha99 commented Nov 22, 2017

this is for: #808

@pedrobaeza
Copy link
Member

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;
Copy link
Contributor

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

Copy link
Contributor Author

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

Copy link
Contributor

@lasley lasley left a 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

@lasley lasley added this to the 11.0 milestone Nov 22, 2017
Copy link
Contributor

@lasley lasley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfecto, thanks @fanha99

@pedrobaeza pedrobaeza merged commit d00ca7c into OCA:11.0 Nov 27, 2017
@lasley
Copy link
Contributor

lasley commented Nov 27, 2017

@fanha99 - do you plan on backporting this?

@fanha99
Copy link
Contributor Author

fanha99 commented Nov 28, 2017

hi @lasley,
have just checked the older version:
[9.0]: system open a new windows for report, and there is no header in this windows, so I think there is no need to fix.
[10.0]: same as [11.0], a new pull request was created: #813
thanks

andreparames pushed a commit to acsone/web that referenced this pull request Jan 23, 2018
yaniaular pushed a commit to vauxoo-dev/web that referenced this pull request May 14, 2018
yaniaular pushed a commit to vauxoo-dev/web that referenced this pull request May 14, 2018
yajo pushed a commit to Tecnativa/web that referenced this pull request Oct 5, 2018
yajo pushed a commit to Tecnativa/web that referenced this pull request Dec 10, 2018
tschanzt pushed a commit to camptocamp/web that referenced this pull request Jun 19, 2019
Tardo pushed a commit to Tecnativa/web that referenced this pull request Sep 30, 2019
Tardo pushed a commit to Tecnativa/web that referenced this pull request Oct 13, 2019
pierre-pizzetta pushed a commit to pierre-pizzetta/web that referenced this pull request Oct 17, 2020
SplashS pushed a commit to SplashS/web that referenced this pull request Feb 11, 2021
SplashS pushed a commit to SplashS/web that referenced this pull request Mar 17, 2021
SplashS pushed a commit to SplashS/web that referenced this pull request Oct 21, 2021
SplashS pushed a commit to SplashS/web that referenced this pull request Nov 15, 2021
bvanjeelharia pushed a commit to bvanjeelharia/web that referenced this pull request Feb 6, 2023
bvanjeelharia pushed a commit to bvanjeelharia/web that referenced this pull request Feb 6, 2023
bvanjeelharia pushed a commit to bvanjeelharia/web that referenced this pull request Feb 7, 2023
bvanjeelharia pushed a commit to bvanjeelharia/web that referenced this pull request Mar 1, 2023
TesaLazarenko pushed a commit to TesaLazarenko/oca_web that referenced this pull request Nov 17, 2023
davidtranhp pushed a commit to davidtranhp/web that referenced this pull request Feb 7, 2024
davidtranhp pushed a commit to davidtranhp/web that referenced this pull request Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants