diff options
author | luxagraf <sng@luxagraf> | 2021-04-03 10:27:52 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf> | 2021-04-03 10:27:52 -0400 |
commit | 37dce4bba45eb45a5fbc84c33ee534cd83e20670 (patch) | |
tree | 22d5b6e87ad22d8511efe13f7a78b8801d106ead | |
parent | 27b1e88388eee191bc0628a844a5f65e383ae7a5 (diff) |
jrnl: fixed a bug in detail template
-rw-r--r-- | app/posts/templates/posts/jrnl_detail.html | 2 | ||||
-rw-r--r-- | design/sass/screenv10.scss | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/app/posts/templates/posts/jrnl_detail.html b/app/posts/templates/posts/jrnl_detail.html index f6e9c18..43771ec 100644 --- a/app/posts/templates/posts/jrnl_detail.html +++ b/app/posts/templates/posts/jrnl_detail.html @@ -95,7 +95,7 @@ {% endfor %}</ul> </aside>{% endif %} {%if object.books.all %} - <aside id="recommended-reading" {%if object.field_notes.all and wildlife %}class="rr-clear{%endif%}" > + <aside id="recommended-reading" {%if object.field_notes.all and wildlife %}class="rr-clear"{%endif%} > <h3 class="hedtinycaps">Recommended Reading</h3> <ul>{% for obj in object.books.all %} <li><a href="{% url 'books:detail' slug=obj.slug %}"><img src="{{obj.get_small_image_url}}" /></a></li> diff --git a/design/sass/screenv10.scss b/design/sass/screenv10.scss index 1adc558..22d083a 100644 --- a/design/sass/screenv10.scss +++ b/design/sass/screenv10.scss @@ -964,6 +964,9 @@ p + .picwide { display: flex; flex-direction: row; } + .entry-footer #recommended-reading ul { + margin-left: 2rem; + } .src .entry-footer { display: block; } @@ -972,6 +975,13 @@ p + .picwide { .entry-footer .hedtinycaps { margin-bottom: 0; } +.entry-footer #recommended-reading ul { + list-style-type: none; + padding: 0; +} +.entry-footer #wildlife ul { + padding: 0; +} .related { //slightly wider column for related posts with |