Skip to content

Commit

Permalink
[#2375] Fix up homepage display in IE8
Browse files Browse the repository at this point in the history
  • Loading branch information
aron committed Aug 14, 2012
1 parent 2fdd2be commit 129352c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions ckan/public/base/less/module.less
Expand Up @@ -177,3 +177,11 @@
font-size: 14px;
line-height: 1.3;
}

.group-listing {
margin-left: -20px; // Same as .row
}

.ie .group-listing {
margin-left: -24px; // Include border around items.
}
2 changes: 1 addition & 1 deletion ckan/templates/home/index.html
Expand Up @@ -80,7 +80,7 @@ <h3 class="tag">Popular {{ c.facet_titles.name }}</h3>
{% endblock %}

{% block secondary_content %}
<div class="row">
<div class="group-listing">
{% for group in c.group_package_stuff %}
{% snippet 'snippets/group_item.html', group=group.group_dict, truncate=100 %}
{% endfor %}
Expand Down

0 comments on commit 129352c

Please sign in to comment.