Skip to content

Commit

Permalink
Merge pull request #813 from fanha99/10_web_responsive_hide_header_wh…
Browse files Browse the repository at this point in the history
…en_print

[10] [web responsive]: hide header when print directly from browser
  • Loading branch information
lasley authored Nov 28, 2017
2 parents 4027ac2 + 71bbedd commit 86d181c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion web_responsive/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"name": "Web Responsive",
"summary": "It provides a mobile compliant interface for Odoo Community "
"web",
"version": "10.0.1.2.1",
"version": "10.0.1.2.2",
"category": "Website",
"website": "https://laslabs.com/",
"author": "LasLabs, Tecnativa, Odoo Community Association (OCA)",
Expand Down
4 changes: 4 additions & 0 deletions web_responsive/static/src/less/navbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
header {
margin: 0;
padding: 0;

@media print {
display: none;
}

> .main-nav {
display: block;
Expand Down

0 comments on commit 86d181c

Please sign in to comment.