aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala
diff options
context:
space:
mode:
authorJoris2017-01-23 19:23:54 +0100
committerJoris2017-01-23 19:23:54 +0100
commitc036500192c92e6aa889b3165dccef2973e58347 (patch)
tree0c43c7a0b80fc693c126e84f47d765aac25e86b2 /src/main/scala
parent4334b1477f6c9c6b68104a36c7529f926a521de5 (diff)
Add covers
Diffstat (limited to 'src/main/scala')
-rw-r--r--src/main/scala/reading/Books.scala4
-rw-r--r--src/main/scala/reading/component/index/style/Books.scala10
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
)
}