Privacy: Wrap text in buttons on privacy policy guide.

On narrow screens allow the text to wrap in the copy buttons on the privacy policy guide screen to avoid horizontal overflow of the parent container.

Props audrasjb, davidbaumwald, jaymanpandya, paaljoachim, palmiak, sabernhardt, SergeyBiryukov, sumitsingh.
Merges [50568] to the 5.7 branch.
Fixes #52751.

Built from https://develop.svn.wordpress.org/branches/5.7@50574


git-svn-id: http://core.svn.wordpress.org/branches/5.7@50187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Peter Wilson 2021-03-25 00:07:04 +00:00
parent a37595b941
commit 7d19c6d338
5 changed files with 13 additions and 3 deletions

View File

@ -964,6 +964,11 @@ form#tags-filter {
input#create-page {
margin-top: 10px;
}
.wp-core-ui button.privacy-text-copy {
white-space: normal;
line-height: 1.8;
}
}
@media only screen and (max-width: 1004px) {

File diff suppressed because one or more lines are too long

View File

@ -963,6 +963,11 @@ form#tags-filter {
input#create-page {
margin-top: 10px;
}
.wp-core-ui button.privacy-text-copy {
white-space: normal;
line-height: 1.8;
}
}
@media only screen and (max-width: 1004px) {

File diff suppressed because one or more lines are too long

View File

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