From 3cd89e244e80bd99a37b1fafac00ffca1643bc70 Mon Sep 17 00:00:00 2001 From: Arvind Tiwari Date: Wed, 28 Feb 2018 04:22:48 +0530 Subject: [PATCH] minor style fixes --- .../static/datacenterlight/css/landing-page.css | 12 ++++++++---- .../templates/datacenterlight/cms/calculator.html | 2 +- datacenterlight/templates/datacenterlight/index.html | 2 +- .../datacenterlight/whydatacenterlight.html | 2 +- dynamicweb/settings/base.py | 7 +++---- 5 files changed, 14 insertions(+), 11 deletions(-) diff --git a/datacenterlight/static/datacenterlight/css/landing-page.css b/datacenterlight/static/datacenterlight/css/landing-page.css index 35d9d65d..b970cff4 100755 --- a/datacenterlight/static/datacenterlight/css/landing-page.css +++ b/datacenterlight/static/datacenterlight/css/landing-page.css @@ -430,12 +430,12 @@ textarea { .section-figure .cms-plugin { padding: 10px; - flex-basis: 50%; + flex-basis: 50%; } @media (max-width: 420px) { .section-figure .cms-plugin { - flex-basis: 100%; + flex-basis: 100%; } } @@ -1249,5 +1249,9 @@ footer .dcl-link-separator::before { width: 4px; height: 4px; border-radius: 100%; - background: #777; -} \ No newline at end of file + background: #777; +} + +.whydcl-header .container { + position: relative; +} diff --git a/datacenterlight/templates/datacenterlight/cms/calculator.html b/datacenterlight/templates/datacenterlight/cms/calculator.html index 64044a62..e4522ffe 100644 --- a/datacenterlight/templates/datacenterlight/cms/calculator.html +++ b/datacenterlight/templates/datacenterlight/cms/calculator.html @@ -15,7 +15,7 @@
-
+
{% include "datacenterlight/includes/_calculator_form.html" %}
diff --git a/datacenterlight/templates/datacenterlight/index.html b/datacenterlight/templates/datacenterlight/index.html index fdd2c198..eaed0162 100755 --- a/datacenterlight/templates/datacenterlight/index.html +++ b/datacenterlight/templates/datacenterlight/index.html @@ -119,7 +119,7 @@
-
+
{% include "datacenterlight/includes/_calculator_form.html" %}
diff --git a/datacenterlight/templates/datacenterlight/whydatacenterlight.html b/datacenterlight/templates/datacenterlight/whydatacenterlight.html index bd1b6ceb..ee882e4f 100644 --- a/datacenterlight/templates/datacenterlight/whydatacenterlight.html +++ b/datacenterlight/templates/datacenterlight/whydatacenterlight.html @@ -138,7 +138,7 @@
-
+
{% include "datacenterlight/includes/_calculator_form.html" %}
diff --git a/dynamicweb/settings/base.py b/dynamicweb/settings/base.py index e3ecf21a..2c4083af 100644 --- a/dynamicweb/settings/base.py +++ b/dynamicweb/settings/base.py @@ -641,10 +641,9 @@ DCL_ERROR_EMAILS_TO = env('DCL_ERROR_EMAILS_TO') DCL_ERROR_EMAILS_TO_LIST = [] if DCL_ERROR_EMAILS_TO is not None: - DCL_ERROR_EMAILS_TO_LIST = [x.strip() for x in - DCL_ERROR_EMAILS_TO.split( - ',')] \ - if "," in DCL_ERROR_EMAILS_TO else [DCL_ERROR_EMAILS_TO.strip()] + DCL_ERROR_EMAILS_TO_LIST = [ + x.strip() for x in DCL_ERROR_EMAILS_TO.split(',') + ] if "," in DCL_ERROR_EMAILS_TO else [DCL_ERROR_EMAILS_TO.strip()] if 'info@ungleich.ch' not in DCL_ERROR_EMAILS_TO_LIST: DCL_ERROR_EMAILS_TO_LIST.append('info@ungleich.ch')