Facelist design fix.
[wolnelektury.git] / wolnelektury / templates / catalogue / breadcrumbs.html
index b3441ba..9213adb 100644 (file)
@@ -1,7 +1,7 @@
 {% load i18n %}
 {% load catalogue_tags %}
 <form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form" style="float:left;">
-    <div style="width: 100%">
+    <div style="width: 900px;">
     <ul class="facelist-selections" style="float:left;">
         {% for tag in tag_list %}
         <li class="facelist-selection-item">
        <a class="facelist-close" href="{% catalogue_url tag_list -tag %}">x</a>
        </span>
        </li>
+        {% empty %}
+        <li class="facelist-selection-item">
+        </li>
         {% endfor %}
         {% if search_form %}
             <li>{{ search_form.q }} {{ search_form.tags }}</li>
         {% endif %}
     </ul>
-    <input type="submit" value="{% trans "Search" %}" style="float: left; {% if tag_list %}margin-top: 10px; height: 32px;{% else %}margin-top: 10px; {% endif %}"/>
+    <input type="submit" value="{% trans "Search" %}" style="float: left; margin-top: 10px; height: 33px;"/>
     </div>
 </form>
 <div class="clearboth"></div>