Skip to content
Snippets Groups Projects
Commit 87d8987c authored by Lars Kruse's avatar Lars Kruse
Browse files

Add workaround for image resizing within pinax blog articles

The "alt" attribute of the images determines their visible size.
This is *bad* :(
parent 31601249
Branches master
No related tags found
No related merge requests found
......@@ -9,6 +9,10 @@
{% block body_class %}blog{% endblock %}
{% block body_main %}
<style type="text/css">
img[alt=full] { width: 100%; }
img[alt=half] { width: 49%; }
</style>
<div class="row blog-container">
<div class="col-md-8 blog-content">
<main>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment