From f7fcc96bff2ca9965a4edfd61524a13cb5e2c183 Mon Sep 17 00:00:00 2001 From: Gehad elrobey Date: Fri, 14 Aug 2015 21:15:07 +0200 Subject: Printing: enhance 2 dives template - Add more text padding on the left - Reduce the width of the profile so that the padding on the right of it is equal to the padding bottom from it. Signed-off-by: Lubomir I. Ivanov Signed-off-by: Gehad elrobey --- printing_templates/Two Dives.html | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'printing_templates') diff --git a/printing_templates/Two Dives.html b/printing_templates/Two Dives.html index 13cb5cff6..95cc9a088 100644 --- a/printing_templates/Two Dives.html +++ b/printing_templates/Two Dives.html @@ -45,6 +45,7 @@ .table_class { overflow: hidden; width: 25%; + height: 99%; margin: 0.5%; float: left; -webkit-box-sizing: border-box; @@ -58,7 +59,6 @@ overflow: hidden; width: 99%; margin: 0.5%; - float: left; -webkit-box-sizing: border-box; box-sizing: border-box; border-width: {{ template_options.borderwidth }}px; @@ -69,23 +69,20 @@ .fieldTitle { background-color: {{ template_options.color2 }}; color: {{ template_options.color4 }}; - overflow: hidden; - padding:0; + padding-left: 2%; } .fieldData { color: {{ template_options.color5 }}; background-color: {{ template_options.color3 }}; + padding-left: 2%; } .diveProfile { - width: 48%; - height: 95%; - margin-left: 0%; - margin-right: 0%; - margin-bottom: 0%; - margin-top: 0.5%; - float: right; + float: left; + height: 99%; + width: 47%; + margin: 0.5%; } .diveDetails { @@ -94,12 +91,16 @@ } .dataPart { - height: 45%; - max-height: 60%; + height: 64%; + padding-bottom: 1%; + width: 100%; + float: left; } .notesPart { height: 35%; + width: 100%; + float: left; } .textArea { @@ -213,7 +214,7 @@
- @@ -232,7 +233,7 @@ {% endfor %} {% endblock %} -- cgit v1.2.3-70-g09d2
+

Notes