Show full title in wide box.
authorRadek Czajka <radekczajka@nowoczesnapolska.org.pl>
Thu, 25 Sep 2014 10:24:00 +0000 (12:24 +0200)
committerRadek Czajka <radekczajka@nowoczesnapolska.org.pl>
Thu, 25 Sep 2014 10:24:00 +0000 (12:24 +0200)
apps/wolnelektury_core/static/scss/main/book_box.scss
apps/wolnelektury_core/static/scss/main/picture_box.scss

index c9b3656..4640b30 100755 (executable)
             @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 {
     .tags {
         @include size(font-size, 11px);
         line-height: 1.2em;
+        margin-bottom: 5px;
 
         @include min-screen($S_BOOK_SHORT_FULL) {
             clear: right;
index c9a8c1b..69d34a3 100644 (file)
@@ -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 {