Skip to content

Commit

Permalink
fixed list view image thumbnails being resized as if they were in gri…
Browse files Browse the repository at this point in the history
…d view, regression from #71
  • Loading branch information
danielweck committed Jul 31, 2014
1 parent 3fe866d commit 83b145b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

}

.library-item .no-cover{
body:not(.list-view) .library-item .no-cover{
width: 300px;
height: 400px;
font-size: 40px;
Expand Down
2 changes: 1 addition & 1 deletion lib/EpubLibrary.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 83b145b

Please sign in to comment.