diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-06-10 13:39:15 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-06-19 21:41:56 +0300 |
commit | 1040f0d4e57ca8ec13f9eb8e0b2214c89b90aaaf (patch) | |
tree | 08a6dd3232bbd7bb7c41770e18c2b2caf5888405 /printing_templates | |
parent | c1523147905345ed5f979b374f766ce42bc9be9b (diff) | |
download | subsurface-1040f0d4e57ca8ec13f9eb8e0b2214c89b90aaaf.tar.gz |
Printing: fix rendering bug for odd number of dives
Odd number of dives needs extra space from the buttom, so that when we
scroll to the last page extra whitespace is shown under the last dive
frame, this is fixed by adding a default footer to the base template.
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'printing_templates')
-rw-r--r-- | printing_templates/base.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/printing_templates/base.html b/printing_templates/base.html index c2c6aa59b..c32bc12db 100644 --- a/printing_templates/base.html +++ b/printing_templates/base.html @@ -84,6 +84,11 @@ overflow: hidden !important; text-overflow: ellipsis; } + + #footer { + width: 96%; + height: 50%; + } </style> </head> <body> @@ -200,5 +205,7 @@ </div> {% endfor %} {% endblock %} +<div id="footer"> +<div> </body> </html> |