From 181eaeb27f31fd5ec8bd557cf74a84c70899f9a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Sun, 12 Oct 2014 21:20:40 +0200 Subject: [PATCH] Fix $config['cops_thumbnail_handling'] with bootstrap template. re #177 --- templates/bootstrap/file.html | 8 +++++++- templates/bootstrap/main.html | 2 -- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/templates/bootstrap/file.html b/templates/bootstrap/file.html index 49d28b4..9264f00 100644 --- a/templates/bootstrap/file.html +++ b/templates/bootstrap/file.html @@ -59,7 +59,13 @@ display:block; } - .cover-image { min-height:164px;} + .cover-image { height:164px; text-align: center;} + + .cover-image img { + max-width:100%; + max-height:100%; + color: white; + } .panel-heading { padding: 10px 7px; } diff --git a/templates/bootstrap/main.html b/templates/bootstrap/main.html index 633afdb..d0b43be 100644 --- a/templates/bootstrap/main.html +++ b/templates/bootstrap/main.html @@ -34,11 +34,9 @@
{{? entry.book.hasCover == 1}} -
{{=it.c.i18n.coverAlt}} -
{{?}}
{{=htmlspecialchars (entry.book.authorsName)}}