From e6dd6130291ef3a958bd6d8666ee16ad8e633056 Mon Sep 17 00:00:00 2001
From: Radek Czajka <radekczajka@nowoczesnapolska.org.pl>
Date: Thu, 25 Sep 2014 12:24:00 +0200
Subject: [PATCH] Show full title in wide box.

---
 .../static/scss/main/book_box.scss                | 15 +++++++++++++++
 .../static/scss/main/picture_box.scss             |  6 +++++-
 2 files changed, 20 insertions(+), 1 deletion(-)

diff --git a/apps/wolnelektury_core/static/scss/main/book_box.scss b/apps/wolnelektury_core/static/scss/main/book_box.scss
index c9b3656f1..4640b30ac 100755
--- a/apps/wolnelektury_core/static/scss/main/book_box.scss
+++ b/apps/wolnelektury_core/static/scss/main/book_box.scss
@@ -153,6 +153,20 @@
             @include size(margin-top, 5px);
         }
 
+        @include min-screen($S_BOOK_SHORT_FULL) {
+             // Show full title on the work's page.
+
+            .book-box-body {
+                height: auto;
+                @include size(min-height, 170px);
+
+                .book-box-head .title {
+                    height: auto;
+                    @include size(min-height, 57.6px);
+                }
+            }
+        }
+
         .book-box-head,
         .tags,
         .book-box-tools {
@@ -292,6 +306,7 @@
     .tags {
         @include size(font-size, 11px);
         line-height: 1.2em;
+        margin-bottom: 5px;
 
         @include min-screen($S_BOOK_SHORT_FULL) {
             clear: right;
diff --git a/apps/wolnelektury_core/static/scss/main/picture_box.scss b/apps/wolnelektury_core/static/scss/main/picture_box.scss
index c9a8c1bd3..69d34a398 100644
--- a/apps/wolnelektury_core/static/scss/main/picture_box.scss
+++ b/apps/wolnelektury_core/static/scss/main/picture_box.scss
@@ -3,6 +3,9 @@
         .cover-area {
             position: static;
             @include size(margin-right, 15px);
+            @media screen and (min-width: 62.5em) {
+                margin-right: 0;
+            }
 
             img.cover {
                 @include size(width, 535px);
@@ -37,7 +40,8 @@
 
         @media screen and (min-width: 50em) {
             .book-box-body {
-                @include size(height, 170px);
+                height: auto;
+                @include size(min-height, 170px);
                 margin-bottom: 0;
             }
             .book-box-tools, .tags {
-- 
2.20.1