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,18 +4,15 @@
<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="block_container_how_dev_widget">
<div class="how_dev_widget"> <div class="how_dev_widget">
<div class="first_line_widget_how_dev"> <div class="first_line_widget_how_dev">
<div class="medium_small_bold_txt how_dev_widget_txt"> <div class="medium_small_bold_txt how_dev_widget_txt">
0{{ forloop.counter }} {{ w.name }} 0{{ forloop.counter }} {{ w.name }}
</div> </div>
{% if not forloop.last %}
<div class="how_dev_arrow_container">
<img class="img_how_arrow" src="{% static "images/how_dev_arrow.svg" %}">
</div>
{% endif %}
</div> </div>
<div class="how_dev_widget_description standart_txt"> <div class="how_dev_widget_description standart_txt">
{{ w.description }} {{ w.description }}
@@ -33,6 +30,12 @@
</div> </div>
</div> </div>
</div> </div>
{% if not forloop.last %}
<div class="how_dev_arrow_container">
<img class="img_how_arrow" src="{% static "images/how_dev_arrow.svg" %}">
</div>
{% endif %}
</div>
{% endfor %} {% endfor %}
</div> </div>
</div> </div>