Compare commits
3 Commits
045f18bd83
...
86341c1257
Author | SHA1 | Date | |
---|---|---|---|
86341c1257 | |||
52cf9aeacc | |||
2a29e3a7a4 |
@ -64,7 +64,7 @@
|
||||
.LP-Place .LP-Place__Image {
|
||||
width: 280px;
|
||||
height: 165px;
|
||||
object-fit: fill; }
|
||||
object-fit: cover; }
|
||||
|
||||
.LP-Place .LP-Place__Assets {
|
||||
display: flex;
|
||||
|
@ -7,14 +7,16 @@
|
||||
<li class="LP-Place__Item">
|
||||
<a href="{% url 'place_detail' pk=place.pk %}" class="LP-Link">
|
||||
<article class="LP-Place">
|
||||
<img class="LP-Place__Image" src="{{ place.images.first.filename.url_thumbnail }}" />
|
||||
<div class="LP-Place__ImageContainer">
|
||||
<img class="LP-Place__Image" src="{{ place.images.first.filename.url_thumbnail }}" />
|
||||
</div>
|
||||
<div class="LP-Place__Assets">
|
||||
<div class="LP-Place__Info">
|
||||
<h3 class="LP-Place__Title">{{place.name}}</h3>
|
||||
<p class="LP-Place__Detail">{{place.location}}</p>
|
||||
</div>
|
||||
<p class="LP-TextSection LP-Place__Description">
|
||||
{{place.description}}
|
||||
{{place.description|truncatechars:250|truncatewords:-1}}
|
||||
</p>
|
||||
|
||||
<ul class="LP-Icon__List">
|
||||
|
Loading…
Reference in New Issue
Block a user