"`;
+exports[`Basic rendering should render 1`] = `""`;
diff --git a/packages/block-editor/src/components/link-control/test/index.js b/packages/block-editor/src/components/link-control/test/index.js
index 6e003a77e6dc45..d783a07c2f98d2 100644
--- a/packages/block-editor/src/components/link-control/test/index.js
+++ b/packages/block-editor/src/components/link-control/test/index.js
@@ -836,7 +836,7 @@ describe( 'Selecting links', () => {
describe( 'Addition Settings UI', () => {
it( 'should display "New Tab" setting (in "off" mode) by default when a link is selected', async () => {
const selectedLink = first( fauxEntitySuggestions );
- const expectedSettingText = 'Open in New Tab';
+ const expectedSettingText = 'Open in new tab';
const LinkControlConsumer = () => {
const [ link ] = useState( selectedLink );
@@ -873,7 +873,7 @@ describe( 'Addition Settings UI', () => {
const customSettings = [
{
id: 'newTab',
- title: 'Open in New Tab',
+ title: 'Open in new tab',
},
{
id: 'noFollow',
diff --git a/packages/block-editor/src/components/url-popover/README.md b/packages/block-editor/src/components/url-popover/README.md
index 13810e9e3cc8e9..1af8eeb670ad2f 100644
--- a/packages/block-editor/src/components/url-popover/README.md
+++ b/packages/block-editor/src/components/url-popover/README.md
@@ -64,7 +64,7 @@ class MyURLPopover extends Component {
onClose={ this.closeURLPopover }
renderSettings={ () => (
diff --git a/packages/block-editor/src/components/url-popover/image-url-input-ui.js b/packages/block-editor/src/components/url-popover/image-url-input-ui.js
index b6b30af373868c..dfd45c71fc5b0e 100644
--- a/packages/block-editor/src/components/url-popover/image-url-input-ui.js
+++ b/packages/block-editor/src/components/url-popover/image-url-input-ui.js
@@ -228,7 +228,7 @@ const ImageURLInputUI = ( {
const advancedOptions = (
<>
diff --git a/packages/block-library/src/columns/editor.scss b/packages/block-library/src/columns/editor.scss
index b62b3f62215143..df272d55d360f1 100644
--- a/packages/block-library/src/columns/editor.scss
+++ b/packages/block-library/src/columns/editor.scss
@@ -66,20 +66,32 @@
// Responsiveness: Show at most one columns on mobile.
flex-basis: 100%;
+ // Between mobile and large viewports, allow 2 columns.
@include break-small() {
+ flex-basis: calc(50% - (#{$grid-size-large}));
+ flex-grow: 0;
+ margin-left: 0;
+ margin-right: 0;
+ }
+
+ // At large viewports, show all columns horizontally.
+ @include break-medium() {
+ // Available space should be divided equally amongst columns
+ // without an assigned width. This is achieved by assigning a
+ // flex basis that is consistent (equal), would not cause the
+ // sum total of column widths to exceed 100%, and which would
+ // cede to a column with an assigned width. The `flex-grow`
+ // allows columns to maximally and equally occupy space
+ // remaining after subtracting the space occupied by columns
+ // with explicit widths (if any exist).
+ flex-basis: 0;
flex-grow: 1;
- flex-basis: auto;
- // Beyond mobile, allow columns. Columns with an explicitly-
- // assigned width should maintain their `flex-basis` width and
- // not grow. All other blocks should automatically inherit the
- // `flex-grow` to occupy the available space.
+ // Columns with an explicitly-assigned width should maintain
+ // their `flex-basis` width and not grow.
&[data-has-explicit-width] {
flex-grow: 0;
}
-
- margin-left: 0;
- margin-right: 0;
}
// Add space between columns. Themes can customize this if they wish to work differently.
diff --git a/packages/block-library/src/columns/style.scss b/packages/block-library/src/columns/style.scss
index b32377cc3522eb..4eae6afb078554 100644
--- a/packages/block-library/src/columns/style.scss
+++ b/packages/block-library/src/columns/style.scss
@@ -30,15 +30,10 @@
word-break: break-word; // For back-compat.
overflow-wrap: break-word; // New standard.
+ // Between mobile and large viewports, allow 2 columns.
@include break-small() {
-
- // Beyond mobile, allow columns. Columns with an explicitly-assigned
- // width should maintain their `flex-basis` width and not grow. All
- // other blocks should automatically inherit the `flex-grow` to occupy
- // the available space.
- &[style] {
- flex-grow: 0;
- }
+ flex-basis: calc(50% - #{$grid-size-large});
+ flex-grow: 0;
// Add space between the multiple columns. Themes can customize this if they wish to work differently.
// Only apply this beyond the mobile breakpoint, as there's only a single column on mobile.
@@ -47,7 +42,23 @@
}
}
+ // At large viewports, show all columns horizontally.
@include break-medium() {
+ // Available space should be divided equally amongst columns without an
+ // assigned width. This is achieved by assigning a flex basis that is
+ // consistent (equal), would not cause the sum total of column widths to
+ // exceed 100%, and which would cede to a column with an assigned width.
+ // The `flex-grow` allows columns to maximally and equally occupy space
+ // remaining after subtracting the space occupied by columns with
+ // explicit widths (if any exist).
+ flex-basis: 0;
+ flex-grow: 1;
+
+ // Columns with an explicitly-assigned width should maintain their
+ // `flex-basis` width and not grow.
+ &[style] {
+ flex-grow: 0;
+ }
// When columns are in a single row, add space before all except the first.
&:not(:first-child) {
diff --git a/packages/block-library/src/group/edit.js b/packages/block-library/src/group/edit.js
index ecb99b96cb4deb..80f496967f599f 100644
--- a/packages/block-library/src/group/edit.js
+++ b/packages/block-library/src/group/edit.js
@@ -6,7 +6,7 @@ import { compose } from '@wordpress/compose';
import { InnerBlocks, __experimentalUseColors } from '@wordpress/block-editor';
import { useRef } from '@wordpress/element';
-function GroupEdit( { hasInnerBlocks } ) {
+function GroupEdit( { hasInnerBlocks, className } ) {
const ref = useRef();
const {
TextColor,
@@ -28,7 +28,7 @@ function GroupEdit( { hasInnerBlocks } ) {
{ InspectorControlsColorPanel }
-
+
{
controls={ [
{
icon: ,
- title: 'Linear Gradient',
+ title: __( 'Linear Gradient' ),
isActive: hasGradient && type === 'linear-gradient',
onClick: onSetLinearGradient,
},
{
icon: ,
- title: 'Radial Gradient',
+ title: __( 'Radial Gradient' ),
isActive: hasGradient && type === 'radial-gradient',
onClick: onSetRadialGradient,
},
diff --git a/packages/e2e-tests/specs/editor/various/__snapshots__/links.test.js.snap b/packages/e2e-tests/specs/editor/various/__snapshots__/links.test.js.snap
index cf6bb746c56033..330dfbbe142b08 100644
--- a/packages/e2e-tests/specs/editor/various/__snapshots__/links.test.js.snap
+++ b/packages/e2e-tests/specs/editor/various/__snapshots__/links.test.js.snap
@@ -20,7 +20,7 @@ exports[`Links can be created by selecting text and using keyboard shortcuts 1`]
exports[`Links can be created by selecting text and using keyboard shortcuts 2`] = `
"
-