summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-11-09 15:03:18 +0100
committerDaniel Friesel <derf@finalrewind.org>2013-11-09 15:03:18 +0100
commitc70d92becda1cb35f7efe60ef1fbc196d90fb5fa (patch)
tree3a8c64a292dbf14cdd7736e745f5f3adafb86e15
parentc6ce3e596322017e38c70a6cd823e63cef2609c4 (diff)
no margin if hide_opts is set
-rw-r--r--cgi/templates/layouts/default.html.ep7
1 files changed, 7 insertions, 0 deletions
diff --git a/cgi/templates/layouts/default.html.ep b/cgi/templates/layouts/default.html.ep
index 2d64df2..b3bcf5f 100644
--- a/cgi/templates/layouts/default.html.ep
+++ b/cgi/templates/layouts/default.html.ep
@@ -13,6 +13,13 @@
font-family: Sans-Serif;
}
+% if ($hide_opts) {
+ body {
+ margin: 0;
+ padding: 0;
+ }
+% }
+
div.outer {
border: 0.2em solid #000066;
width: 55em;