Fix $config['cops_thumbnail_handling'] with bootstrap template. re #177
This commit is contained in:
parent
c72f4aee98
commit
181eaeb27f
|
@ -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; }
|
||||
|
||||
|
|
|
@ -34,11 +34,9 @@
|
|||
<div class="panel-body">
|
||||
<div class="cover-image">
|
||||
{{? entry.book.hasCover == 1}}
|
||||
<div class="text-center">
|
||||
<a href="{{=str_format (it.c.url.coverUrl, entry.book.id, it.databaseId)}}">
|
||||
<img src="{{=str_format (it.c.url.thumbnailUrl, entry.book.id, it.databaseId)}}" alt="{{=it.c.i18n.coverAlt}}" />
|
||||
</a>
|
||||
</div>
|
||||
{{?}}
|
||||
</div>
|
||||
<div class="ellipsis"><span class="glyphicon glyphicon-user"></span> <span class="sa">{{=htmlspecialchars (entry.book.authorsName)}}</span></div>
|
||||
|
|
Loading…
Reference in a new issue