Browse Source

Merge pull request #813 from fanha99/10_web_responsive_hide_header_when_print

[10] [web responsive]: hide header when print directly from browser
pull/817/head
Dave Lasley 7 years ago
committed by GitHub
parent
commit
86d181c1b0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      web_responsive/__manifest__.py
  2. 4
      web_responsive/static/src/less/navbar.less

2
web_responsive/__manifest__.py

@ -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)",

4
web_responsive/static/src/less/navbar.less

@ -4,6 +4,10 @@
header {
margin: 0;
padding: 0;
@media print {
display: none;
}
> .main-nav {
display: block;

Loading…
Cancel
Save