frontend: cap the size of heading image
This commit is contained in:
parent
3a0c892148
commit
c43bafa21b
2 changed files with 10 additions and 1 deletions
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
<div class="card-columns">
|
||||
<div class="card" ng-repeat="(k,theme) in themes">
|
||||
<img class="card-img-top" src="{{ theme.image }}" alt="">
|
||||
<div class="card-img-top theme-card" ng-show="theme.image" style="background-image: url({{ theme.image }})"></div>
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">
|
||||
<a ng-href="/{{ theme.urlid }}">{{ theme.name }}</a>
|
||||
|
|
|
|||
Reference in a new issue