1
0
Fork 0

Fix home grid

pull/61/head
Nikos Roussos 2015-09-27 09:59:21 -04:00
parent c9213a498a
commit 40708cb9ac
2 changed files with 3 additions and 7 deletions

View File

@ -169,6 +169,7 @@ a.satellite-item:hover {
.satellite-img {
max-width: 70px;
max-height: 70px;
border-radius: 10px;
padding: 5px;
}
@ -205,6 +206,7 @@ a.satellite-item:hover {
.suggestions-counter {
display: inline-block;
font-size: 0.9em;
}
.label-transmitter-suggestions {

View File

@ -47,7 +47,7 @@
{% block content %}
<div class="row sats">
{% for sat in satellites %}
<div class="col-md-4 satellite-group-item"
<div class="col-md-4 col-sm-6 col-xs-12 satellite-group-item"
data-selector="{{ sat.name|lower }}{{ sat.norad_cat_id }}{{ sat.names|lower }}">
<a href="{% url 'satellite' norad=sat.norad_cat_id %}" class="satellite-item">
<div class="row">
@ -71,12 +71,6 @@
</div>
</a>
</div>
{% if forloop.counter|divisibleby:3 %}
</div>
{% if not loop.last %}
<div class="row">
{% endif %}
{% endif %}
{% endfor %}
</div>