File tree 4 files changed +15
-7
lines changed
4 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 102
102
margin-bottom : var (--spacing--block-1 );
103
103
}
104
104
105
+ :where(.is-layout-flex ),
106
+ :where(.is-layout-grid ) {
107
+ gap : get-gutter-width ();
108
+ }
109
+
105
110
// ----
106
111
// Alignements verticaux
107
112
// ----
108
113
> * ,
109
- [class *= " inner-container" ] > * {
114
+ [class *= " inner-container" ]:not ( .is-layout-grid ) > * {
110
115
margin-top : var (--spacing--block-1 );
111
116
margin-bottom : var (--spacing--block-1 );
112
117
Original file line number Diff line number Diff line change 1
1
.wp-block-columns {
2
2
@include block-vertical-spacing ();
3
- gap : get-gutter-width () !important ;
4
3
5
4
.wp-block-column {
6
5
& .has-background {
Original file line number Diff line number Diff line change 1
- // .wp-block-gallery {
2
- // ...
3
- // }
1
+ .wp-block-gallery {
2
+ --wp--style--gallery-gap-default : #{ get-gutter-width ()} !important ;
3
+ }
Original file line number Diff line number Diff line change 1
1
.wp-block-group {
2
2
$el : &;
3
3
4
- display : flow-root ;
4
+ & :not (.is-layout-grid ) {
5
+ display : flow-root ;
6
+ }
5
7
6
8
& --no-inner-margin {
7
9
#{$el } __inner-container {
21
23
22
24
@include editor-only {
23
25
.wp-block-group {
24
- display : flow-root ;
26
+ & :not (.is-layout-grid ) {
27
+ display : flow-root ;
28
+ }
25
29
26
30
.wp-block-group.has-background > .block-editor-block-list__layout > [data-align = " full" ] {
27
31
width : 100% ;
You can’t perform that action at this time.
0 commit comments