Posts, Post Types: Make permalink fully visible on mobile.

Set `break-word` on sample permalink so the full permalink will be visible on mobile devices in posts, media, and comments. Prevent hidden text overflow or horizontal scrolling on mobile.

Props sumitsingh, sabernhardt.
Fixes #54811.
Built from https://develop.svn.wordpress.org/trunk@53114


git-svn-id: http://core.svn.wordpress.org/trunk@52703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
joedolson 2022-04-08 20:38:00 +00:00
parent f27c6a5565
commit dedfc82ed8
5 changed files with 15 additions and 3 deletions

View File

@ -98,6 +98,12 @@ input#link_url {
color: #646970;
}
#sample-permalink {
display: inline-block;
max-width: 100%;
word-wrap: break-word;
}
#edit-slug-box .cancel {
margin-left: 10px;
padding: 0;

File diff suppressed because one or more lines are too long

View File

@ -97,6 +97,12 @@ input#link_url {
color: #646970;
}
#sample-permalink {
display: inline-block;
max-width: 100%;
word-wrap: break-word;
}
#edit-slug-box .cancel {
margin-right: 10px;
padding: 0;

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.0-alpha-53113';
$wp_version = '6.0-alpha-53114';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.