From 0ced0e81752c41bd2ee97d686724455539f8797e Mon Sep 17 00:00:00 2001 From: Brent Swisher Date: Wed, 14 Nov 2018 21:52:48 -0500 Subject: [PATCH] Add a word-break style to the facebook embed preview screen to prevent the long embed url from breaking the block boundary --- packages/block-library/src/embed/editor.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/block-library/src/embed/editor.scss b/packages/block-library/src/embed/editor.scss index f56a9f6b35a30..69f57569606fe 100644 --- a/packages/block-library/src/embed/editor.scss +++ b/packages/block-library/src/embed/editor.scss @@ -23,4 +23,9 @@ font-size: $default-font-size; } } + + //Stops long urls from breaking out of the no preview available screen + .components-placeholder__error { + word-break: break-word; + } }