drastic measures: set overflow to hidden on .canvas
This commit is contained in:
parent
14a4e7b4b9
commit
15de609ad1
|
@ -522,7 +522,7 @@ def view_article(request, id):
|
|||
d = article.get_dict(m, p)
|
||||
else:
|
||||
d = article.get_dict(m)
|
||||
page_width = article.view_size()[0] - 1
|
||||
page_width = article.view_size()[0]
|
||||
page_height = article.view_size()[1]
|
||||
return render_to_response("view_article.html", {'pages': d, 'm': m, 'width': addPx(page_width), 'height': addPx(page_height)})
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@ em {
|
|||
font-size: {{ "12px"|make_really_big:m }};
|
||||
page-break-after: always;
|
||||
page-break-inside: avoid;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.box {
|
||||
|
|
Loading…
Reference in New Issue
Block a user