UI: Training templates fluid video layouts #104435
@ -728,6 +728,7 @@ button,
|
|||||||
align-items: center
|
align-items: center
|
||||||
display: flex
|
display: flex
|
||||||
height: 100vh
|
height: 100vh
|
||||||
|
justify-content: center
|
||||||
left: 0
|
left: 0
|
||||||
margin-bottom: 0
|
margin-bottom: 0
|
||||||
position: sticky
|
position: sticky
|
||||||
|
@ -33,15 +33,15 @@
|
|||||||
{% include 'common/components/content_locked.html' with background=section.thumbnail_m_url %}
|
{% include 'common/components/content_locked.html' with background=section.thumbnail_m_url %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="col">
|
{% if section.is_free or request.user|has_active_subscription %}
|
||||||
{% if section.is_free or request.user|has_active_subscription %}
|
{% if section.thumbnail %}
|
||||||
{% 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" %}
|
||||||
{% 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 %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
{% else %}
|
||||||
|
<div class="col">
|
||||||
|
{% include 'common/components/content_locked.html' with background=training.picture_header %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="training-group-item training-group-item-content">
|
<div class="training-group-item training-group-item-content">
|
||||||
|
Loading…
Reference in New Issue
Block a user