UI: Training templates fluid video layouts #104435
@ -16,15 +16,16 @@
|
||||
<section class="training-group-item training-group-item-content-detail">
|
||||
<div class="row training-group-item-content-detail-inner">
|
||||
<div class="col">
|
||||
<div class="mb-3 row">
|
||||
<div class="col">
|
||||
{% if training.picture_header_url %}
|
||||
{% if training.picture_header_url %}
|
||||
martonlente marked this conversation as resolved
Outdated
|
||||
<div class="mb-3 row">
|
||||
<div class="col">
|
||||
<div class="training-header-img-helper">
|
||||
<img src="{{ training.picture_header_url }}" class="img-fluid img-width-100 rounded" alt="{{ training.name }}">
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="align-items-start mb-3 row">
|
||||
<div class="col-12 col-md">
|
||||
<h1 class="mb-0">{{ training.name }}</h1>
|
||||
|
Loading…
Reference in New Issue
Block a user
This entire div can be empty if
{% if training.picture_header_url %}
is false.Adding a gap because of
mb-3
without anything inside.Move the check up here.
Thanks, it has been fixed.