diff --git a/index.html b/index.html index 1b31e4c79..a1009285d 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,7 @@ } - .library-item .no-cover{ + body:not(.list-view) .library-item .no-cover{ width: 300px; height: 400px; font-size: 40px; diff --git a/lib/EpubLibrary.js b/lib/EpubLibrary.js index 1f4378e6b..c2b49bda3 100644 --- a/lib/EpubLibrary.js +++ b/lib/EpubLibrary.js @@ -28,7 +28,7 @@ define(['jquery', 'bootstrap', 'storage/StorageManager', 'storage/Settings', 'Ep // else if (cssRule.selectorText.toLowerCase()=='.library-item img') { // maxHeightRule = cssRule; // } - else if (cssRule.selectorText.toLowerCase() == '.library-item .no-cover'){ + else if (cssRule.selectorText.toLowerCase() == 'body:not(.list-view) .library-item .no-cover'){ noCoverRule = cssRule; }