summaryrefslogtreecommitdiffstats
path: root/printing_templates
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-08-10 19:35:42 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-08-15 15:03:07 +0300
commitd7f1a6b96e27999795798d066adb1cc8a1887ec3 (patch)
tree76248ecefa47eb8bc50d4b525006e66293de52b6 /printing_templates
parentcfa34cc0221c206d00c8a8f40a1b0dfddb29aacd (diff)
downloadsubsurface-d7f1a6b96e27999795798d066adb1cc8a1887ec3.tar.gz
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 <neolit123@gmail.com> Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Diffstat (limited to 'printing_templates')
-rw-r--r--printing_templates/Six Dives.html18
1 files changed, 11 insertions, 7 deletions
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 @@
</div>
{% endfor %}
{% endblock %}
-</div>
<div id="footer">
</div>
+</div>
</body>
</html>