UI: Training templates fluid video layouts #104435
@ -728,6 +728,7 @@ button,
|
||||
align-items: center
|
||||
display: flex
|
||||
height: 100vh
|
||||
justify-content: center
|
||||
left: 0
|
||||
margin-bottom: 0
|
||||
position: sticky
|
||||
|
@ -33,15 +33,15 @@
|
||||
{% include 'common/components/content_locked.html' with background=section.thumbnail_m_url %}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<div class="col">
|
||||
{% if section.is_free or request.user|has_active_subscription %}
|
||||
{% if section.thumbnail %}
|
||||
{% include "common/components/helpers/image_set.html" with alt=section.name classes="img-fluid img-width-100 rounded" img_source=section.thumbnail xsmall_width="600" small_width="800" medium_width="1000" large_width="1200" xlarge_width="1920" %}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% include 'common/components/content_locked.html' with background=training.picture_header %}
|
||||
{% if section.is_free or request.user|has_active_subscription %}
|
||||
{% if section.thumbnail %}
|
||||
{% include "common/components/helpers/image_set.html" with alt=section.name classes="img-fluid img-width-100" img_source=section.thumbnail xsmall_width="600" small_width="800" medium_width="1000" large_width="1200" xlarge_width="1920" %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="col">
|
||||
{% include 'common/components/content_locked.html' with background=training.picture_header %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="training-group-item training-group-item-content">
|
||||
|
Loading…
Reference in New Issue
Block a user