diff options
Diffstat (limited to 'src/main/scala')
-rw-r--r-- | src/main/scala/reading/Books.scala | 4 | ||||
-rw-r--r-- | src/main/scala/reading/component/index/style/Books.scala | 10 |
2 files changed, 10 insertions, 4 deletions
diff --git a/src/main/scala/reading/Books.scala b/src/main/scala/reading/Books.scala index 283d177..105e1d2 100644 --- a/src/main/scala/reading/Books.scala +++ b/src/main/scala/reading/Books.scala @@ -1002,7 +1002,7 @@ object Books { ), Book( - title = "La Mécanique du coeur", + title = "La Mécanique du cœur", author = "Mathias MALZIEU", year = "2009", period = Some(Siecle19), @@ -1169,7 +1169,7 @@ object Books { ), Book( - title = "Etincelles", + title = "Étincelles", author = "Daniel LACOTTE et Lola ROIG", year = "xxx", period = None, diff --git a/src/main/scala/reading/component/index/style/Books.scala b/src/main/scala/reading/component/index/style/Books.scala index 79aea1a..33e1cb3 100644 --- a/src/main/scala/reading/component/index/style/Books.scala +++ b/src/main/scala/reading/component/index/style/Books.scala @@ -21,8 +21,14 @@ object Books extends StyleSheet.Inline { ) val cover = style( - Media.desktop(height(250.px)), - Media.mobile(height(150.px)), + Media.desktop( + height(250.px), + maxWidth(200.px) + ), + Media.mobile( + height(150.px), + maxWidth(120.px) + ), cursor.pointer ) } |