fix overlapping abstract
authorJan Szejko <janek37@gmail.com>
Thu, 5 Jul 2018 13:26:18 +0000 (15:26 +0200)
committerJan Szejko <janek37@gmail.com>
Thu, 5 Jul 2018 13:26:18 +0000 (15:26 +0200)
src/catalogue/templates/catalogue/book_short.html
src/wolnelektury/static/scss/main/book_box.scss

index 0361e8d..c8dd95f 100644 (file)
         {% block book-box-body-pre %}
         {% endblock %}
 
         {% block book-box-body-pre %}
         {% endblock %}
 
+        <div class="cover-area">
+          {% if book.cover_thumb %}
+            <a href="{{ book.get_absolute_url }}">
+              <img src="{{ book.cover_thumb.url }}" alt="Cover" class="cover" />
+            </a>
+          {% endif %}
+          {% block cover-area-extra %}{% endblock %}
+        </div>
+
         <div class="book-box-head">
           <div class="author">
             {% for tag in tags.author %}
         <div class="book-box-head">
           <div class="author">
             {% for tag in tags.author %}
           {% endif %}
         </div>
 
           {% endif %}
         </div>
 
-        <div class="cover-area">
-          {% if book.cover_thumb %}
-            <a href="{{ book.get_absolute_url }}">
-              <img src="{{ book.cover_thumb.url }}" alt="Cover" class="cover" />
-            </a>
-          {% endif %}
-          {% block cover-area-extra %}{% endblock %}
-        </div>
-
         <div class="tags">
           <span class="category">
           <span class="mono"> {% trans "Epoch" %}:</span>&nbsp;<span class="book-box-tag">
         <div class="tags">
           <span class="category">
           <span class="mono"> {% trans "Epoch" %}:</span>&nbsp;<span class="book-box-tag">
index ddb4b72..9e87e39 100755 (executable)
   @include size(margin-bottom, 5px);
 
   @include min-screen($S_BOOK_SHORT_FULL) {
   @include size(margin-bottom, 5px);
 
   @include min-screen($S_BOOK_SHORT_FULL) {
-    position: absolute;
-    top: 0;
-    left: 0;
-    margin-right: 0;
+    //position: absolute;
+    //top: 0;
+    //left: 0;
+    //margin-right: 0;
   }
 
   img.cover {
   }
 
   img.cover {