Skip to content

Commit

Permalink
Add a word-break style to the facebook embed preview screen to preven…
Browse files Browse the repository at this point in the history
…t the long embed url from breaking the block boundary
  • Loading branch information
brentswisher committed Nov 21, 2018
1 parent 56d09e5 commit 0ced0e8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/block-library/src/embed/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit 0ced0e8

Please sign in to comment.