#2463 oc gallery photos improvments

This commit is contained in:
Diatrex 2020-10-26 15:04:23 +03:00
parent 6ba6a4698b
commit d240579008
2 changed files with 5 additions and 1 deletions

View File

@ -146,4 +146,8 @@ a.sort-by-open-dropdown:hover {
.sort-by-item:hover {
text-decoration: underline;
cursor: pointer;
}
.gallery-tn {
object-fit: cover;
}

View File

@ -7,7 +7,7 @@
<div class="row p-2" style="min-height: 150px;">
<a href="{{ adv.detail_url }}">
<div class="col-md-12 justify-content-center align-self-center">
<img class="card-img-top img-fluid img-thumbnail"
<img class="card-img-top img-fluid img-thumbnail gallery-tn"
src="{{ adv.cover_photo }}"
style="height: 150px">
</div>