diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2018-10-10 15:57:12 +0000 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2018-10-11 14:18:13 +0000 |
| commit | 92bfbfd4f79cc8156cdde0f66fa15ff20baf1245 (patch) | |
| tree | c7275ef1cc25d038f56dd9607e6087b390bf1e51 /setup.py | |
| parent | 9ffe661d1a5227c0a17dfa9b767797b2a6c91c01 (diff) | |
[FIX] web: improve style header background layout
As per fpodoo specification:
- decrease max width of logo (from max 33% of header width, to max 22%)
- decrease font-size of tagline by 30%
So logo is smaller, and company address has less probability to get
pushed lower (since sum of contents are larger than width).
Sizing the header works as follow:
If the header is equal to wkhtmltopdf page width or bigger, it is zoomed
out until it fits. So with current configuration:
- 100% of width is 900px,
- company tagline is at maximum 33% (300/900),
- company logo is at maximum 20% (200/900),
- remaining (company address) is remaining space of 44% (400/900)
closes #27641
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions
