This commit is contained in:
SBD
2023-12-09 13:10:58 +03:00
parent 10ce707c42
commit d7c94100db
2 changed files with 37 additions and 31 deletions

View File

@@ -794,7 +794,6 @@ body.n_scroll{
.block_how_dev_title{ .block_how_dev_title{
width: 100%; width: 100%;
text-align: left; text-align: left;
margin-bottom: 50px;
} }
.how_dev_container_widgets{ .how_dev_container_widgets{
@@ -805,9 +804,9 @@ body.n_scroll{
} }
.how_dev_widget{ .how_dev_widget{
width: 295px; width: 260px;
margin-right: 25px; padding: 10px;
margin-bottom: 100px; margin: 5px 0;
} }
.how_dev_widget_description{ .how_dev_widget_description{
@@ -827,18 +826,22 @@ body.n_scroll{
.how_dev_arrow_container{ .how_dev_arrow_container{
width: 35px; width: 35px;
height: 35px; height: 35px;
padding: 10px 0;
} }
.how_dev_widget_txt{ .how_dev_widget_txt{
width: calc(100% - 55px); width: 100%;
margin-right: 20px; margin-right: 20px;
font-weight: 600; font-weight: 600;
} }
.block_container_how_dev_widget {
display: flex;
}
.first_line_widget_how_dev{ .first_line_widget_how_dev{
width: 100%; width: 100%;
display: flex; display: block;
flex-wrap: wrap;
} }
.widget_how_dev_characters{ .widget_how_dev_characters{

View File

@@ -4,34 +4,37 @@
<div class="cut-width"> <div class="cut-width">
<div class="block_how_dev"> <div class="block_how_dev">
<div class="large_txt block_how_dev_title">{{ block.name }}</div> <div class="large_txt block_how_dev_title">{{ block.name }}</div>
<div class="how_dev_container_widgets"> <div class="how_dev_container_widgets">
{% for w in block.rel_widgets_for_block.all %} {% for w in block.rel_widgets_for_block.all %}
<div class="how_dev_widget"> <div class="block_container_how_dev_widget">
<div class="first_line_widget_how_dev"> <div class="how_dev_widget">
<div class="medium_small_bold_txt how_dev_widget_txt"> <div class="first_line_widget_how_dev">
0{{ forloop.counter }} {{ w.name }} <div class="medium_small_bold_txt how_dev_widget_txt">
</div> 0{{ forloop.counter }} {{ w.name }}
{% if not forloop.last %}
<div class="how_dev_arrow_container">
<img class="img_how_arrow" src="{% static "images/how_dev_arrow.svg" %}">
</div> </div>
{% endif %} </div>
<div class="how_dev_widget_description standart_txt">
{{ w.description }}
</div>
<div class="widget_how_dev_characters">
<div class="standart_semi_bold_txt widget_how_dev_characters_title">
Участники:
</div>
<div class="list_characters_widget_how_dev_container">
<ul class="list_characters_widget_how_dev">
{% for item_s in w.text|split_string_by_enter %}
<li class="standart_txt">{{ item_s }}</li>
{% endfor %}
</ul>
</div>
</div>
</div> </div>
<div class="how_dev_widget_description standart_txt"> {% if not forloop.last %}
{{ w.description }} <div class="how_dev_arrow_container">
</div> <img class="img_how_arrow" src="{% static "images/how_dev_arrow.svg" %}">
<div class="widget_how_dev_characters"> </div>
<div class="standart_semi_bold_txt widget_how_dev_characters_title"> {% endif %}
Участники:
</div>
<div class="list_characters_widget_how_dev_container">
<ul class="list_characters_widget_how_dev">
{% for item_s in w.text|split_string_by_enter %}
<li class="standart_txt">{{ item_s }}</li>
{% endfor %}
</ul>
</div>
</div>
</div> </div>
{% endfor %} {% endfor %}
</div> </div>