@wordpress/edit-site 3.0.21 → 3.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -467,6 +467,9 @@ body.is-fullscreen-mode .interface-interface-skeleton {
467
467
  .edit-site-visual-editor.is-focus-mode .edit-site-visual-editor__editor-canvas {
468
468
  border-radius: 2px;
469
469
  }
470
+ .edit-site-visual-editor.is-focus-mode .components-resizable-box__container {
471
+ overflow: visible;
472
+ }
470
473
 
471
474
  .edit-site-visual-editor__editor-canvas {
472
475
  border-radius: 2px 2px 0 0;
@@ -484,6 +487,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
484
487
 
485
488
  .components-resizable-box__container {
486
489
  margin: 0 auto;
490
+ overflow: auto;
487
491
  }
488
492
 
489
493
  .resizable-editor__drag-handle {
@@ -1510,7 +1514,6 @@ html.wp-toolbar {
1510
1514
  position: relative;
1511
1515
  height: 100%;
1512
1516
  display: block;
1513
- overflow: hidden;
1514
1517
  }
1515
1518
  .edit-site-visual-editor iframe {
1516
1519
  display: block;
@@ -467,6 +467,9 @@ body.is-fullscreen-mode .interface-interface-skeleton {
467
467
  .edit-site-visual-editor.is-focus-mode .edit-site-visual-editor__editor-canvas {
468
468
  border-radius: 2px;
469
469
  }
470
+ .edit-site-visual-editor.is-focus-mode .components-resizable-box__container {
471
+ overflow: visible;
472
+ }
470
473
 
471
474
  .edit-site-visual-editor__editor-canvas {
472
475
  border-radius: 2px 2px 0 0;
@@ -484,6 +487,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
484
487
 
485
488
  .components-resizable-box__container {
486
489
  margin: 0 auto;
490
+ overflow: auto;
487
491
  }
488
492
 
489
493
  .resizable-editor__drag-handle {
@@ -1510,7 +1514,6 @@ html.wp-toolbar {
1510
1514
  position: relative;
1511
1515
  height: 100%;
1512
1516
  display: block;
1513
- overflow: hidden;
1514
1517
  }
1515
1518
  .edit-site-visual-editor iframe {
1516
1519
  display: block;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/edit-site",
3
- "version": "3.0.21",
3
+ "version": "3.0.22",
4
4
  "description": "Edit Site Page module for WordPress.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -29,28 +29,28 @@
29
29
  "@babel/runtime": "^7.16.0",
30
30
  "@wordpress/a11y": "^3.2.4",
31
31
  "@wordpress/api-fetch": "^5.2.6",
32
- "@wordpress/block-editor": "^8.0.14",
33
- "@wordpress/block-library": "^6.0.19",
32
+ "@wordpress/block-editor": "^8.0.15",
33
+ "@wordpress/block-library": "^6.0.20",
34
34
  "@wordpress/blocks": "^11.1.5",
35
- "@wordpress/components": "^19.2.1",
35
+ "@wordpress/components": "^19.2.2",
36
36
  "@wordpress/compose": "^5.0.7",
37
37
  "@wordpress/core-data": "^4.0.9",
38
38
  "@wordpress/data": "^6.1.5",
39
39
  "@wordpress/data-controls": "^2.2.8",
40
- "@wordpress/editor": "^12.0.17",
40
+ "@wordpress/editor": "^12.0.18",
41
41
  "@wordpress/element": "^4.0.4",
42
42
  "@wordpress/hooks": "^3.2.2",
43
43
  "@wordpress/html-entities": "^3.2.3",
44
44
  "@wordpress/i18n": "^4.2.4",
45
45
  "@wordpress/icons": "^6.1.1",
46
- "@wordpress/interface": "^4.1.16",
46
+ "@wordpress/interface": "^4.1.17",
47
47
  "@wordpress/keyboard-shortcuts": "^3.0.7",
48
48
  "@wordpress/keycodes": "^3.2.4",
49
49
  "@wordpress/media-utils": "^3.0.5",
50
50
  "@wordpress/notices": "^3.2.8",
51
51
  "@wordpress/plugins": "^4.0.7",
52
52
  "@wordpress/primitives": "^3.0.4",
53
- "@wordpress/reusable-blocks": "^3.0.20",
53
+ "@wordpress/reusable-blocks": "^3.0.21",
54
54
  "@wordpress/url": "^3.3.1",
55
55
  "@wordpress/viewport": "^4.0.7",
56
56
  "classnames": "^2.3.1",
@@ -64,5 +64,5 @@
64
64
  "publishConfig": {
65
65
  "access": "public"
66
66
  },
67
- "gitHead": "04883dd8275ee52245a45c8899eb720b91055c50"
67
+ "gitHead": "8c2cd6a5fd8781266da858a2e7d1bdd9a3a279e4"
68
68
  }
@@ -24,6 +24,12 @@
24
24
  .edit-site-visual-editor__editor-canvas {
25
25
  border-radius: 2px;
26
26
  }
27
+
28
+ // To hide the horizontal scrollbar and show the drag handle on the
29
+ // left and right of the container.
30
+ .components-resizable-box__container {
31
+ overflow: visible;
32
+ }
27
33
  }
28
34
  }
29
35
 
@@ -46,6 +52,8 @@
46
52
 
47
53
  .components-resizable-box__container {
48
54
  margin: 0 auto;
55
+ // Removing this will cancel the bottom margins in the iframe.
56
+ overflow: auto;
49
57
  }
50
58
 
51
59
  .resizable-editor__drag-handle {
@@ -32,7 +32,6 @@ html.wp-toolbar {
32
32
  position: relative;
33
33
  height: 100%;
34
34
  display: block;
35
- overflow: hidden;
36
35
 
37
36
  iframe {
38
37
  display: block;