diff options
author | luxagraf <sng@luxagraf.net> | 2018-04-12 21:40:54 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2018-04-12 21:40:54 -0400 |
commit | 9ec405f41c41e35596d82b8dab1443adabd6ed76 (patch) | |
tree | 8c85f72089df91a9b3d4e94e639e6e67644d6dc7 /design | |
parent | 58e2e73fef2db84a46f6d706a39997f2a6b9a9ba (diff) |
fixed a bug in building books
Diffstat (limited to 'design')
-rw-r--r-- | design/sass/_writing_details.scss | 5 | ||||
-rw-r--r-- | design/templates/details/entry.html | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/design/sass/_writing_details.scss b/design/sass/_writing_details.scss index 1ac0a38..ece519e 100644 --- a/design/sass/_writing_details.scss +++ b/design/sass/_writing_details.scss @@ -296,7 +296,7 @@ figure.picwide img.picwide { } } .src .picwide, .h-entry figure.picwide { - margin-left: auto !important; + margin-left: !important; } .picwide960 { clear: both; @@ -818,3 +818,6 @@ figure.picwide img.picwide { color: $body_font_light; } } +.rr-clear { + clear: left; +} diff --git a/design/templates/details/entry.html b/design/templates/details/entry.html index d5bd727..cec3b9c 100644 --- a/design/templates/details/entry.html +++ b/design/templates/details/entry.html @@ -73,7 +73,7 @@ class="{%if t == 1 or t == 3 or t == 5 %}double{%else%}single{%endif%}{%if t == {% endfor %}</ul> </aside>{% endif %} {%if object.books.all %} - <aside id="recommended-reading"> + <aside id="recommended-reading{%if object.field_notes.all and wildlife %} rr-clear{%endif%}" > <h3>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> |