From 6313664e539dbcbecd61743cae65ce7d4e96065a Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Mon, 4 Dec 2017 21:43:13 +1100 Subject: [PATCH] Adjust the spacing around entries - don't use .container since it adds extra unwanted margin --- entries/static/entries/css/h-entry.styl | 2 +- entries/templates/entries/entry.html | 2 +- entries/templates/entries/index.html | 2 +- home/static/home/css/index.styl | 1 + home/templates/home/index.html | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/entries/static/entries/css/h-entry.styl b/entries/static/entries/css/h-entry.styl index 1140bdb..df36b8f 100644 --- a/entries/static/entries/css/h-entry.styl +++ b/entries/static/entries/css/h-entry.styl @@ -1,4 +1,4 @@ -ol.entries +ol.entries, div.entry display flex margin-bottom 0 flex 1 diff --git a/entries/templates/entries/entry.html b/entries/templates/entries/entry.html index 5d4afa4..a22b0bd 100644 --- a/entries/templates/entries/entry.html +++ b/entries/templates/entries/entry.html @@ -8,7 +8,7 @@ {% endblock %} {% block main %} -
+
{% include 'entries/h-entry.html' %}
{% endblock %} diff --git a/entries/templates/entries/index.html b/entries/templates/entries/index.html index 4537284..d16f517 100644 --- a/entries/templates/entries/index.html +++ b/entries/templates/entries/index.html @@ -7,7 +7,7 @@ {% endblock %} {% block main %} -
    +
      {% for entry in entries %}
    1. {% include 'entries/h-entry.html' %} diff --git a/home/static/home/css/index.styl b/home/static/home/css/index.styl index d00601e..7a73893 100644 --- a/home/static/home/css/index.styl +++ b/home/static/home/css/index.styl @@ -24,3 +24,4 @@ main margin-bottom 0 ol.entries justify-content flex-start + margin-right 1rem diff --git a/home/templates/home/index.html b/home/templates/home/index.html index 38d9c95..732099e 100644 --- a/home/templates/home/index.html +++ b/home/templates/home/index.html @@ -54,7 +54,7 @@ -
        +
          {% for entry in entries %}
        1. {% include 'entries/h-entry.html' %}