Show thumbnail of media element aside description

master
Felix Stupp 2 years ago
parent fa32bb2439
commit 22418120e9
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -93,6 +93,13 @@
justify-content: space-between;
align-items: flex-end;
}
.element_view > .thumbnail_img {
display: block;
margin: .4rem;
order: 90;
width: 420px;
max-width: 100%;
}
.element_view > .element_info {
display: block;
}

@ -11,6 +11,7 @@
{{ macros.body_header() }}
<h1>{{ title }}</h1>
<div class="element_view">
<img class="thumbnail_img" src="{{ element.info_link }}/thumbnail" alt="Thumbnail" />
<div class="element_info">
{% if element.description != None %}
<div class="description">{{ element.description }}</div>

Loading…
Cancel
Save