File tree 5 files changed +21
-14
lines changed
sources/stylesheets/components
5 files changed +21
-14
lines changed Original file line number Diff line number Diff line change 66
66
67
67
{% - if editmode or block_has_content %}
68
68
<div
69
- class =" block-wrapper{% if wrapper_class %} { { wrapper_class } } {% endif %} "
69
+ class =" block-wrapper{% if layout_name == ' split_50_50_full ' %} block-wrapper-split {% endif %} {% if wrapper_class %} { { wrapper_class } } {% endif %} "
70
70
data-block-key =" { { id } } "
71
71
>
72
72
{% - if editmode %}
Original file line number Diff line number Diff line change 50
50
" value" : {
51
51
" content_areas" : " 2"
52
52
}
53
+ },
54
+ {
55
+ " key" : " split_50_50_full" ,
56
+ " value" : {
57
+ " content_areas" : " 2" ,
58
+ " separate_bg_pickers" : true
59
+ }
53
60
}
54
61
],
55
62
"categories_page_block_layouts": [
Original file line number Diff line number Diff line change 2
2
.category-blocks {
3
3
position : relative ;
4
4
5
+ & .block-wrapper-split {
6
+ display : grid ;
7
+ grid-template-columns : 1fr 1fr ;
8
+ }
9
+
5
10
.block-edit-buttons {
6
11
width : 100% ;
7
12
height : 100% ;
77
82
}
78
83
}
79
84
80
- .category-blocks .block-wrapper {
81
- display : grid ;
82
- grid-template-columns : 1fr 1fr ;
83
- }
84
-
85
85
.block {
86
86
min-height : calc (100vh - 128px );
87
87
padding : 64px ;
403
403
}
404
404
}
405
405
406
- .category-blocks .block-wrapper {
406
+ .block-wrapper .block-wrapper-split {
407
407
grid-template-columns : 1fr ;
408
408
}
409
409
}
Original file line number Diff line number Diff line change 3
3
.category-blocks {
4
4
position : relative;
5
5
}
6
+ .block-wrapper .block-wrapper-split ,
7
+ .category-blocks .block-wrapper-split {
8
+ display : grid;
9
+ grid-template-columns : 1fr 1fr ;
10
+ }
6
11
.block-wrapper .block-edit-buttons ,
7
12
.category-blocks .block-edit-buttons {
8
13
width : 100% ;
72
77
display : none;
73
78
}
74
79
75
- .category-blocks .block-wrapper {
76
- display : grid;
77
- grid-template-columns : 1fr 1fr ;
78
- }
79
-
80
80
.block {
81
81
min-height : calc (100vh - 128px );
82
82
padding : 64px ;
322
322
order : 1 ;
323
323
height : unset;
324
324
}
325
- .category-blocks .block-wrapper {
325
+ .block-wrapper .block-wrapper-split {
326
326
grid-template-columns : 1fr ;
327
327
}
328
328
}
You can’t perform that action at this time.
0 commit comments