Skip to content
This repository was archived by the owner on Apr 5, 2020. It is now read-only.

Commit 29dddb8

Browse files
committed
fix: Book cover dynamic height and width
1 parent cfde663 commit 29dddb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Book.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ class Book extends Component {
1111
<div className="book">
1212
<div className="book-top">
1313
<div className="book-cover" style={{
14-
width: 128,
15-
height: 193,
14+
width: '100%',
15+
height: '100%',
1616
backgroundImage: `url(${book.imageLinks ? book.imageLinks.smallThumbnail : ''})`
1717
}}> </div>
1818
<div className="book-shelf-changer">

0 commit comments

Comments
 (0)