diff --git a/packages/block-editor/src/components/url-popover/style.scss b/packages/block-editor/src/components/url-popover/style.scss index 4038058abeb19f..4c302dee1f0cc9 100644 --- a/packages/block-editor/src/components/url-popover/style.scss +++ b/packages/block-editor/src/components/url-popover/style.scss @@ -59,6 +59,9 @@ text-overflow: ellipsis; white-space: nowrap; margin-right: $grid-unit-10; + // Avoids the popover from growing too wide when the URL is long. + // See https://github.com/WordPress/gutenberg/issues/58599 + max-width: $modal-min-width; &.has-invalid-link { color: $alert-red;