Administration: Allow breaking long strings in <code> tags at any point, to avoid overflowing on mobile.

Props david.binda, mukesh27.
Fixes #47329.

git-svn-id: https://develop.svn.wordpress.org/trunk@45692 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-07-28 16:08:47 +00:00
parent df874c9858
commit 5c6b35c81e

View File

@ -3791,6 +3791,8 @@ img {
code {
word-wrap: break-word;
word-wrap: anywhere; /* Firefox. Allow breaking long words anywhere */
word-break: break-word; /* Webkit: Treated similarly to word-wrap: break-word */
}
/* General Metabox */