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

Props david.binda, mukesh27.
Fixes #47329.
Built from https://develop.svn.wordpress.org/trunk@45692


git-svn-id: http://core.svn.wordpress.org/trunk@45503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2019-07-28 16:09:55 +00:00
parent a59301c2ba
commit b95b055225
5 changed files with 7 additions and 3 deletions

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 */

File diff suppressed because one or more lines are too long

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 */

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.3-alpha-45691';
$wp_version = '5.3-alpha-45692';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.