Skip to content

Commit 0f6ecc7

Browse files
jasmussennoisysocks
authored andcommitted
Fix mobile horizontal scrollbar. (#36567)
1 parent 2f26770 commit 0f6ecc7

File tree

1 file changed

+4
-10
lines changed
  • packages/block-editor/src/components/inner-blocks

1 file changed

+4
-10
lines changed

packages/block-editor/src/components/inner-blocks/style.scss

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,10 @@
44
&::after {
55
content: "";
66
position: absolute;
7-
top: -$block-padding;
8-
right: -$block-padding;
9-
bottom: -$block-padding;
10-
left: -$block-padding;
7+
top: 0;
8+
right: 0;
9+
bottom: 0;
10+
left: 0;
1111
z-index: z-index(".block-editor-block-list__layout.has-overlay::after");
1212
}
1313
}
14-
15-
// On fullwide blocks, don't go beyond the canvas.
16-
[data-align="full"] .has-overlay::after {
17-
right: 0;
18-
left: 0;
19-
}

0 commit comments

Comments
 (0)