toodego: add form description to link cell (#53747)
This commit is contained in:
parent
8543107802
commit
4ab78c6c2c
|
@ -149,6 +149,23 @@ a.tile-link {
|
|||
}
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
.description p {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
.tile-head {
|
||||
}
|
||||
.tile-title {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.description {
|
||||
max-height: 2.4em;
|
||||
overflow: hidden;
|
||||
p {
|
||||
margin: 0;
|
||||
color: black;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<div class="tile-title">
|
||||
<h2>{{title}}</h2>
|
||||
<h3>{{ producer.label }}</h3>
|
||||
{% if description %}<div class="description">{{ description|safe }}</div>{% endif %}
|
||||
<span class="producer" style="background-image: {% asset_css_url logo producer_logo %}">{{ producer.label }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue