diff --git a/publichealth/home/templates/home/article_content.html b/publichealth/home/templates/home/article_content.html index 3e410ce..459d358 100644 --- a/publichealth/home/templates/home/article_content.html +++ b/publichealth/home/templates/home/article_content.html @@ -28,7 +28,7 @@ -
+
{% for block in page.trans_body %} {% if block.block_type == 'info' %}
diff --git a/publichealth/home/templates/home/page_content.html b/publichealth/home/templates/home/page_content.html index 2ef9cc5..a646ed5 100644 --- a/publichealth/home/templates/home/page_content.html +++ b/publichealth/home/templates/home/page_content.html @@ -28,7 +28,7 @@
-
+
{% for block in page.trans_body %} {% if block.block_type == 'info' %}
diff --git a/publichealth/home/templates/infos.html b/publichealth/home/templates/infos.html index ec40989..25c088f 100644 --- a/publichealth/home/templates/infos.html +++ b/publichealth/home/templates/infos.html @@ -2,7 +2,7 @@
-
+
{% for block in page.trans_infos %}
@@ -19,4 +19,4 @@ {% endfor %}
-
\ No newline at end of file + diff --git a/publichealth/static/css/modules/_articles.scss b/publichealth/static/css/modules/_articles.scss index 07238fc..6f8feaa 100644 --- a/publichealth/static/css/modules/_articles.scss +++ b/publichealth/static/css/modules/_articles.scss @@ -27,6 +27,10 @@ section { clear: both; } +.infoblocks article:nth-child(4) { + clear: both; +} + // Responsive image/video classes .rich-text img { max-width: 100%; diff --git a/publichealth/static/mockup/assets/css/main.css b/publichealth/static/mockup/assets/css/main.css index ef49695..d4c42c1 100755 --- a/publichealth/static/mockup/assets/css/main.css +++ b/publichealth/static/mockup/assets/css/main.css @@ -8576,6 +8576,9 @@ section h1 { text-transform: uppercase; } +.article-body { + line-height: 1.5; +} .article-body h2 { font-size: 35px; } @@ -8593,6 +8596,10 @@ section h1 { clear: both; } +.infoblocks article:nth-child(4) { + clear: both; +} + .rich-text img { max-width: 100%; height: auto;