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