UI: Training templates fluid video layouts #104435

Merged
Márton Lente merged 13 commits from ui/training-layout-fluid into main 2024-08-23 16:50:27 +02:00
2 changed files with 9 additions and 8 deletions
Showing only changes of commit cd5c36165b - Show all commits

View File

@ -728,6 +728,7 @@ button,
align-items: center
display: flex
height: 100vh
justify-content: center
left: 0
margin-bottom: 0
position: sticky

View File

@ -33,16 +33,16 @@
{% 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" %}
{% 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 %}
{% else %}
<div class="col">
{% include 'common/components/content_locked.html' with background=training.picture_header %}
{% endif %}
</div>
{% endif %}
{% endif %}
</div>
<div class="training-group-item training-group-item-content">
<div class="box">