From d7f1a6b96e27999795798d066adb1cc8a1887ec3 Mon Sep 17 00:00:00 2001 From: Gehad elrobey Date: Mon, 10 Aug 2015 19:35:42 +0200 Subject: Printing: remove extra white spaces from 6 dives template The are some rounding errors in the 6 dives template. Solve them them by adding the color to the main body div. Signed-off-by: Lubomir I. Ivanov Signed-off-by: Gehad elrobey --- printing_templates/Six Dives.html | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'printing_templates') diff --git a/printing_templates/Six Dives.html b/printing_templates/Six Dives.html index 1d3966d3b..2bf23a145 100644 --- a/printing_templates/Six Dives.html +++ b/printing_templates/Six Dives.html @@ -32,6 +32,11 @@ float: left; } + #body_div { + background-color: {{ template_options.color1 }}; + float: left; + } + .mainContainer { width: 50%; height: 33.333333%; @@ -45,13 +50,12 @@ } .innerContainer { - height: 98%; + height: 99%; width: 98%; - padding: 1%; - margin-top: 1%; - margin-bottom: 1%; + padding-left: 1%; + padding-right: 1%; + padding-top: 1%; overflow: hidden; - background-color: {{ template_options.color1 }}; } .table_class { @@ -81,7 +85,7 @@ margin-left: 0%; margin-right: 0%; margin-bottom: 0%; - margin-top: 0.5%; + margin-top: 0%; float: right; } @@ -168,8 +172,8 @@ {% endfor %} {% endblock %} - + -- cgit v1.2.3-70-g09d2