Commits

Ahmad Khayyat committed 8a5ecb4 Draft

Reduce empty space above title in the jquery popup

Comments (0)

Files changed (1)

filebrowser_safe/templates/filebrowser/include/filelisting.html

 {% load i18n future adminmedia fb_tags mezzanine_tags %}
 
 
+{% if query.pop %}
 <style>
 {% if query.pop == '4' %}
 #media-library-popup #header, #media-library-popup .object-tools {display: none;}
+#media-library-popup h1 {margin: -60px 0 15px 0;}
 {% else %}
-{% if query.pop %}
 #header, .object-tools {display: none;}
 h1 {margin:-30px 0 15px 0;}
 {% endif %}
+</style>
 {% endif %}
-</style>
 
 {% for file in page.object_list %}
 <tr class="{% cycle 'row1' 'row2' %}">