Commits

David Larlet  committed 6e1e795

Fixes a rendering issue when an article ends with an image

  • Participants
  • Parent commits 6197e4f

Comments (0)

Files changed (3)

File src/static/themes/default.css

 .content img{ float: left; margin: 1em; }
 .match,
 strong      { font-weight: bold; }
+hr          { clear: both; visibility: hidden; height: 0; }

File src/static/themes/werkzeug.css

 .content img{ float: left; margin: 1em; }
 .match,
 strong      { font-weight: bold; }
+hr          { clear: both; visibility: hidden; height: 0; }

File src/templates/render_content.html

     {% endif %}
   <div class="content">
     {{ content|safe }}
+    <hr />
     <a href="/d?url={{ quoted_url }}" title="Delete article from local database"><img src="/static/trash.png" /></a>
   </div>
   <h3 class="source">Source: <a href="{{ url }}">{{ url|hostname }}</a></h3>