Skip to content

Commit

Permalink
Added a filler at the bottom of the book card to make sure the button…
Browse files Browse the repository at this point in the history
…s are not over text. fix #432
  • Loading branch information
seblucas committed Jun 19, 2019
1 parent 01324ec commit 916c2f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/bootstrap/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,15 @@ <h2 class="panel-title"><a href="{{=str_format (it.c.url.detailUrl, entry.book.i
{{~entry.book.customcolumns_list :column:column_index}}
<div class="ellipsis"><span class="glyphicon glyphicon-minus"></span> <span class="ss">{{=column.customColumnType.columnTitle}} : {{=column.htmlvalue}}</span></div>
{{~}}
{{~entry.book.preferedData:data:j}}
<div style="height: 40px;"></div>
{{~}}
<div class="text-center bottomright">
{{~entry.book.preferedData:data:j}}
<p>
<a href="{{=data.url}}" class="btn btn-primary btn-sm" role="button"><span class="glyphicon glyphicon-download"></span> {{=data.name}}</a>
<a href="{{=data.viewUrl}}" class="btn btn-primary btn-sm" role="button"><span class="glyphicon glyphicon-folder-open"></span></a>
<br />
</p>
{{~}}
</div>
</div>
Expand Down

0 comments on commit 916c2f5

Please sign in to comment.