[fix] [minor] letterhead max-width as 100% in print format
This commit is contained in:
parent
173c81e975
commit
f28ffcf9c2
1 changed files with 2 additions and 1 deletions
|
|
@ -311,7 +311,8 @@ $.extend(_p, {
|
|||
// Attach letterhead at top of container
|
||||
show_letterhead: function(container, args) {
|
||||
if(!(args.no_letterhead || args.only_body)) {
|
||||
container.innerHTML = '<div>' + _p.get_letter_head() + '</div>'
|
||||
container.innerHTML = '<div style="max-width: 100%">'
|
||||
+ _p.get_letter_head() + '</div>'
|
||||
+ container.innerHTML;
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue